diff options
Diffstat (limited to 'internal/world/world.go')
| -rw-r--r-- | internal/world/world.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/world/world.go b/internal/world/world.go index b305c4b..8ed9a7c 100644 --- a/internal/world/world.go +++ b/internal/world/world.go @@ -19,6 +19,10 @@ type World struct { seeded map[int]bool objStates map[string]*ObjState objMoves []ObjMove + + hazardMu sync.Mutex + hazardPathIndex map[string]string + hazardDefs map[string]*HazardDef } func New(dataDir string) *World { @@ -28,6 +32,7 @@ func New(dataDir string) *World { groundItems: make(map[int][]*groundEntry), seeded: make(map[int]bool), objStates: make(map[string]*ObjState), + hazardDefs: make(map[string]*HazardDef), } } |
