Added comments
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
package infrastructure
|
||||
|
||||
Road :: struct {
|
||||
// Index to nodes that limit the road
|
||||
nodes: [2]u32,
|
||||
}
|
||||
|
||||
// Road Initialisation
|
||||
road_init :: proc(start: u32, end: u32) -> Road {
|
||||
return {
|
||||
nodes = {start, end}
|
||||
|
||||
Reference in New Issue
Block a user