Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
Pathfinding.h
1#ifndef _BOMBERMAN_UTIL_PATHFINDING_H_
2#define _BOMBERMAN_UTIL_PATHFINDING_H_
3
4#include <stack>
5
6#include "Const.h"
7
8namespace bomberman
9{
14 struct Cell
15 {
16 int parentRow, parentColumn; // row and column of parent
17 double f, g, h; // f = g + h
18 };
26 std::pair<int, int> findBestCell(Tile (&grid)[tileArrayHeight][tileArrayWidth],
27 const std::pair<int, int>& src, const std::pair<int, int>& dest);
28} // namespace bomberman
29
30#endif // _BOMBERMAN_UTIL_PATHFINDING_H_
Game-world configuration constants.
Tile
Tile type identifiers used in the tile map.
Definition Const.h:13
Hold parameters for pathfinding algorithm.
Definition Pathfinding.h:15