| 165 | } |
| 166 | |
| 167 | TrapEntity* TrapCannon::getTrapEntity(Tile* tile) |
| 168 | { |
| 169 | return new TrapEntity(getGameMap(), *this, reg.getTrapFactory()->getMeshName(), tile, 90.0, false, isActivated(tile) ? 1.0f : 0.5f); |
| 170 | } |
| 171 | |
| 172 | double TrapCannon::getPhysicalDefense() const |
| 173 | { |
nothing calls this directly
no test coverage detected