hadean-zig/src/Layer.zig

13 lines
168 B
Zig
Raw Normal View History

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
};
}
pub const FLOOR = layer(0);
pub const ENTITIES = layer(1);