Example prototype for monster spawning management added in 1-1.
This commit is contained in:
@@ -40,7 +40,7 @@ void Pathfinding::Initialize(){
|
||||
nodes[y*game->WORLD_SIZE.x + x].vecNeighbours.push_back(&nodes[(y + 1) * game->WORLD_SIZE.x + (x + 1)]);
|
||||
}
|
||||
|
||||
// Manually positio the start and end markers so they are not nullptr
|
||||
// Manually position the start and end markers so they are not nullptr
|
||||
nodeStart = &nodes[(game->WORLD_SIZE.y / 2) * game->WORLD_SIZE.x + 1];
|
||||
nodeEnd = &nodes[(game->WORLD_SIZE.y / 2) * game->WORLD_SIZE.x + game->WORLD_SIZE.x-2];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user