add a rock

master
Jordan Orelli 4 years ago
parent 3048157f6e
commit 1c66de121b

@ -28,6 +28,12 @@ func NewWorld(log *blammo.Log) *World {
tiles: make([]tile, 100), tiles: make([]tile, 100),
players: make(map[string]*player), players: make(map[string]*player),
} }
foyer.tiles[55].here = &Entity{
ID: 777,
Position: [2]int{5, 5},
Glyph: 'd',
behavior: doNothing{},
}
return &World{ return &World{
Log: log, Log: log,
rooms: []room{foyer}, rooms: []room{foyer},

Loading…
Cancel
Save