| 29 | } |
| 30 | |
| 31 | bool GoalProtectCreature::isMet(const Seat&, const GameMap& gameMap) |
| 32 | { |
| 33 | // Check to see if the creature exists on the game map. |
| 34 | const Creature *tempCreature = gameMap.getCreature(mCreatureName); |
| 35 | if (tempCreature != nullptr) |
| 36 | return (tempCreature->isAlive()); |
| 37 | |
| 38 | return false; |
| 39 | } |
| 40 | |
| 41 | std::string GoalProtectCreature::getSuccessMessage(const Seat&) |
| 42 | { |
nothing calls this directly
no test coverage detected