Adjusted variables and comments

This commit is contained in:
2026-04-29 21:48:35 +02:00
parent 081e690dc3
commit fc0341d9ad
2 changed files with 2 additions and 4 deletions

View File

@@ -22,7 +22,4 @@ pub const ROAD_SIZE = 20;
/// Regular road colour
pub const ROAD_COLOUR = clr.black;
/// Colour of the road that is highlighted
pub const ROAD_HIGHLIGHTED_COLOUR = clr.green;
pub const TEXT_SIZE = 50;
pub const TEXT_COLOUR = clr.black;
pub const ROAD_HIGHLIGHTED_COLOUR = clr.green;

View File

@@ -1,6 +1,7 @@
const Road = @import("../infrastructure/road.zig").Road;
const Node = @import("../infrastructure/node.zig").Node;
/// Can point to either entity type (node, road, etc.)
pub const Entity = union(enum) {
node: *Node,
road: *Road,