| 31 | class ODPacket; |
| 32 | |
| 33 | class BuildingObject: public RenderedMovableEntity |
| 34 | { |
| 35 | public: |
| 36 | BuildingObject(GameMap* gameMap, Building& building, const std::string& meshName, Tile* targetTile, |
| 37 | Ogre::Real x, Ogre::Real y, Ogre::Real z, Ogre::Real rotationAngle, bool hideCoveredTile, |
| 38 | float opacity = 1.0f, const std::string& initialAnimationState = "", bool initialAnimationLoop = true); |
| 39 | BuildingObject(GameMap* gameMap, Building& building, const std::string& meshName, |
| 40 | Tile& targetTile, Ogre::Real rotationAngle, bool hideCoveredTile, float opacity = 1.0f, |
| 41 | const std::string& initialAnimationState = "", bool initialAnimationLoop = true); |
| 42 | BuildingObject(GameMap* gameMap); |
| 43 | |
| 44 | virtual GameEntityType getObjectType() const override; |
| 45 | |
| 46 | void doUpkeep() override; |
| 47 | |
| 48 | void addParticleEffect(const std::string& effectScript, uint32_t nbTurns); |
| 49 | |
| 50 | void fireRefresh(); |
| 51 | |
| 52 | static BuildingObject* getBuildingObjectFromPacket(GameMap* gameMap, ODPacket& is); |
| 53 | }; |
| 54 | |
| 55 | #endif // BUILDINGOBJECT_H |
nothing calls this directly
no outgoing calls
no test coverage detected