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

Method importFromStream

source/creatureskill/CreatureSkill.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44bool CreatureSkill::importFromStream(std::istream& is)
45{
46 if(!(is >> mCooldownNbTurns))
47 return false;
48
49 if(!(is >> mWarmupNbTurns))
50 return false;
51
52 return true;
53}
54
55bool CreatureSkill::isEqual(const CreatureSkill& creatureSkill) const
56{

Callers 1

loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected