| 42 | } |
| 43 | |
| 44 | bool 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 | |
| 55 | bool CreatureSkill::isEqual(const CreatureSkill& creatureSkill) const |
| 56 | { |