Turn the player at start
This commit is contained in:
parent
dcb7b2abaf
commit
abd4a629dd
|
@ -238,6 +238,7 @@ export function GameState(ctx: ContextI, selectedAnimal: string, selectedSegment
|
||||||
player = new AnimalEntity(animals[selectedAnimal])
|
player = new AnimalEntity(animals[selectedAnimal])
|
||||||
player.isPlayer = true
|
player.isPlayer = true
|
||||||
addEntity(player, 'objects', x, y)
|
addEntity(player, 'objects', x, y)
|
||||||
|
player.turn()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add fake others
|
// Add fake others
|
||||||
|
|
Loading…
Reference in New Issue
Block a user