Update src/road/road.zig

appended todo to a comment so it'll be easier for me to see in the future that this issue needs fixing
This commit is contained in:
Martin Vrhovšek 2025-07-22 23:14:23 +02:00
parent a23921bc98
commit 4fe62d06d1

View File

@ -19,7 +19,7 @@ pub const Road = struct {
pub fn confirmRoad(self: *Road, pos: rl.Vector2) void {
self.end_point = pos;
}
// lets make each road state carry the color with it instead of this
// todo lets make each road state carry the color with it instead of this
pub fn setColor(self: *Road, road_state: str.RoadState) void {
self.color = switch (road_state) {
.valid => .black,