Make the pathing in 04 the same as 03.

master
Zed A. Shaw 2 days ago
parent aef3abf941
commit d108a16c91
  1. 2
      04_combat/game.go

@ -12,8 +12,8 @@ func NewGame(width int, height int) (*Game) {
game.Height = height
game.Enemies = make(map[Position]*Enemy)
game.Level = make(Map, height, height)
game.Player = Enemy{20, Position{1,1}, 4}
game.Paths = make(Paths, height, height)
game.Player = Enemy{20, Position{1,1}, 4}
return &game
}

Loading…
Cancel
Save