Adjusted variables and comments
This commit is contained in:
@@ -22,7 +22,4 @@ pub const ROAD_SIZE = 20;
|
|||||||
/// Regular road colour
|
/// Regular road colour
|
||||||
pub const ROAD_COLOUR = clr.black;
|
pub const ROAD_COLOUR = clr.black;
|
||||||
/// Colour of the road that is highlighted
|
/// Colour of the road that is highlighted
|
||||||
pub const ROAD_HIGHLIGHTED_COLOUR = clr.green;
|
pub const ROAD_HIGHLIGHTED_COLOUR = clr.green;
|
||||||
|
|
||||||
pub const TEXT_SIZE = 50;
|
|
||||||
pub const TEXT_COLOUR = clr.black;
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
const Road = @import("../infrastructure/road.zig").Road;
|
const Road = @import("../infrastructure/road.zig").Road;
|
||||||
const Node = @import("../infrastructure/node.zig").Node;
|
const Node = @import("../infrastructure/node.zig").Node;
|
||||||
|
|
||||||
|
/// Can point to either entity type (node, road, etc.)
|
||||||
pub const Entity = union(enum) {
|
pub const Entity = union(enum) {
|
||||||
node: *Node,
|
node: *Node,
|
||||||
road: *Road,
|
road: *Road,
|
||||||
|
|||||||
Reference in New Issue
Block a user