Changeset 5871 in orxonox.OLD for branches/powerups/src/world_entities/power_ups/power_up.h
- Timestamp:
- Dec 2, 2005, 3:00:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/power_ups/power_up.h
r5434 r5871 9 9 #include "world_entity.h" 10 10 11 typedef enum PowerUpType 12 { 13 PWR_UP_NULL, 14 PWR_UP_SHIELD, 15 PWR_UP_WEAPON, 16 } PowerUpType; 17 11 18 class PowerUp : public WorldEntity { 12 19 13 public: 14 PowerUp (); 20 public: 21 PowerUp(PowerUpType type = PWR_UP_NULL); 22 PowerUp(const TiXmlElement* root); 15 23 virtual ~PowerUp (); 16 void loadParam(const TiXmlElement* root); 24 void loadParams(const TiXmlElement* root); 25 void collidesWith (WorldEntity* entity, const Vector& location); 26 27 private: 28 PowerUpType type; 29 void init(); 17 30 }; 18 31
Note: See TracChangeset
for help on using the changeset viewer.