Changeset 5458 in orxonox.OLD for trunk/src/world_entities/power_ups/laser_power_up.h
- Timestamp:
- Oct 30, 2005, 1:52:29 AM (20 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/laser_power_up.h
r5449 r5458 1 1 /*! 2 * @file turret_power_up.h2 * @file laser_power_up.h 3 3 * @brief A class representing a PowerUp in the world. 4 4 */ 5 5 6 #ifndef _ TURRET_POWER_UP_H7 #define _ TURRET_POWER_UP_H6 #ifndef _LASER_POWER_UP_H 7 #define _LASER_POWER_UP_H 8 8 9 9 #include "power_up.h" 10 10 11 class TurretPowerUp : public PowerUp {11 class LaserPowerUp : public PowerUp { 12 12 13 13 public: 14 TurretPowerUp();15 TurretPowerUp(const TiXmlElement* root);16 virtual ~ TurretPowerUp ();14 LaserPowerUp(); 15 LaserPowerUp(const TiXmlElement* root); 16 virtual ~LaserPowerUp (); 17 17 18 virtual void TurretPowerUp::collidesWith(WorldEntity* entity, const Vector& location);18 virtual void LaserPowerUp::collidesWith(WorldEntity* entity, const Vector& location); 19 19 virtual void tick(float dt); 20 20 virtual void draw(); … … 32 32 }; 33 33 34 #endif /* _ TURRET_POWER_UP_H */34 #endif /* _LASER_POWER_UP_H */
Note: See TracChangeset
for help on using the changeset viewer.