1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

added API for sleeping heroes access

This commit is contained in:
Ivan Savenko
2023-04-17 13:26:28 +03:00
parent 6a46138617
commit 3eac6f323e
4 changed files with 38 additions and 20 deletions

View File

@@ -136,7 +136,6 @@ private:
std::optional<Point> keyToMoveDirection(const SDL_Keycode & key);
bool isHeroSleeping(const CGHeroInstance *hero);
void setHeroSleeping(const CGHeroInstance *hero, bool sleep);
int getNextHeroIndex(int startIndex); //for Next Hero button - cycles awake heroes with movement only
void endingTurn();