MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / SpellCallToWar

Method SpellCallToWar

source/spells/SpellCallToWar.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71SpellCallToWar::SpellCallToWar(GameMap* gameMap) :
72 Spell(gameMap, SpellManager::getSpellNameFromSpellType(getSpellType()), "WarBanner", 0.0,
73 ConfigManager::getSingleton().getSpellConfigInt32("CallToWarNbTurnsMax"))
74{
75 mPrevAnimationState = "Loop";
76 mPrevAnimationStateLoop = true;
77}
78
79SpellCallToWar::~SpellCallToWar()
80{

Callers

nothing calls this directly

Calls 1

getSpellConfigInt32Method · 0.80

Tested by

no test coverage detected