Ejemplo n.º 1
0
 public TravelingState(MissionGrid grid, MissionSelectPlayer player, Vector2Int toPos)
 {
     _grid      = grid;
     _player    = player;
     _path      = _grid.GetPathInfoBetween(player.PlayerPos, toPos).path;
     _pathIndex = 0;
     _toPos     = toPos;
 }