Code restructuring

This commit is contained in:
2026-04-25 23:55:49 +02:00
parent b872af06ff
commit ef0b4b850a
10 changed files with 222 additions and 199 deletions

View File

@@ -0,0 +1,16 @@
package common
import rl "vendor:raylib"
// Stores data about intersections
Intersection_Data :: struct {
// Index of the road that is intersected
road: u32,
// The exact point of intersection
point: rl.Vector2,
}
Entity :: enum {
Node,
Road,
}