1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

vcmi: change EAlignment to enum class

This commit is contained in:
Konstantin
2023-04-04 13:36:42 +03:00
parent 0c7dbea990
commit 8968f0ef0e
15 changed files with 34 additions and 32 deletions

View File

@@ -166,7 +166,7 @@ public:
bool spellbookContainsSpell(const SpellID & spell) const;
void removeSpellbook();
const std::set<SpellID> & getSpellsInSpellbook() const;
EAlignment::EAlignment getAlignment() const;
EAlignment getAlignment() const;
bool needsLastStack()const override;
ui32 getTileCost(const TerrainTile & dest, const TerrainTile & from, const TurnInfo * ti) const; //move cost - applying pathfinding skill, road and terrain modifiers. NOT includes diagonal move penalty, last move levelling