| 163 | } |
| 164 | |
| 165 | void Room::removeCreatureUsingRoom(Creature *c) |
| 166 | { |
| 167 | for (unsigned int i = 0; i < mCreaturesUsingRoom.size(); ++i) |
| 168 | { |
| 169 | if (mCreaturesUsingRoom[i] == c) |
| 170 | { |
| 171 | mCreaturesUsingRoom.erase(mCreaturesUsingRoom.begin() + i); |
| 172 | break; |
| 173 | } |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | Creature* Room::getCreatureUsingRoom(unsigned index) |
| 178 | { |
no outgoing calls
no test coverage detected