updating danger map correctly

This commit is contained in:
Bluub
2021-06-18 14:58:07 +02:00
parent 81784bf0f8
commit 60697a5e2d
5 changed files with 56 additions and 119 deletions
+6
View File
@@ -18,6 +18,12 @@ namespace BBM
//! @brief dtor
~LuaMap();
//! @brief Clear danger map
void clearDanger(void);
//! @brief set dangerlevel at xpos ypos
bool setDanger(int xpos, int ypos, int dangerLevel);
//! @brief A star pathfinding between two points
std::vector<Vector2f> pathfind(Vector2f, Vector2f);