|
const Layer = @This();
|
|
|
|
z_index: i32,
|
|
|
|
fn layer(z_index: i32) Layer {
|
|
return .{
|
|
.z_index = z_index
|
|
};
|
|
}
|
|
|
|
pub const HIDDEN = layer(-1);
|
|
pub const FLOOR = layer(0);
|
|
pub const ENTITIES = layer(1);
|
|
pub const CAMERA = layer(2);
|
|
pub const SELECTION = layer(3);
|