| 112 | } |
| 113 | |
| 114 | TrapBoulder::TrapBoulder(GameMap* gameMap) : |
| 115 | Trap(gameMap) |
| 116 | { |
| 117 | mReloadTime = ConfigManager::getSingleton().getTrapConfigUInt32("BoulderReloadTurns"); |
| 118 | mMinDamage = ConfigManager::getSingleton().getTrapConfigDouble("BoulderDamagePerHitMin"); |
| 119 | mMaxDamage = ConfigManager::getSingleton().getTrapConfigDouble("BoulderDamagePerHitMax"); |
| 120 | mNbShootsBeforeDeactivation = ConfigManager::getSingleton().getTrapConfigUInt32("BoulderNbShootsBeforeDeactivation"); |
| 121 | setMeshName(""); |
| 122 | } |
| 123 | |
| 124 | bool TrapBoulder::shoot(Tile* tile) |
| 125 | { |
nothing calls this directly
no test coverage detected