2024-08-21 15:57:18 -04:00
|
|
|
const Layer = @This();
|
|
|
|
|
|
|
|
|
|
z_index: i32,
|
|
|
|
|
|
|
|
|
|
fn layer(z_index: i32) Layer {
|
|
|
|
|
return .{
|
|
|
|
|
.z_index = z_index
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-23 02:55:22 -04:00
|
|
|
pub const HIDDEN = layer(-1);
|
2024-08-21 15:57:18 -04:00
|
|
|
pub const FLOOR = layer(0);
|
|
|
|
|
pub const ENTITIES = layer(1);
|
2024-09-20 18:00:50 -04:00
|
|
|
pub const CAMERA = layer(2);
|
|
|
|
|
pub const SELECTION = layer(3);
|