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

@@ -23,6 +23,3 @@ pub const ROAD_SIZE = 20;
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;

View File

@@ -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,