Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2005, 1:52:29 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: a second power-up (lasers)

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/power_ups/laser_power_up.h

    r5449 r5458  
    11/*!
    2  * @file turret_power_up.h
     2 * @file laser_power_up.h
    33 * @brief A class representing a PowerUp in the world.
    44*/
    55
    6 #ifndef _TURRET_POWER_UP_H
    7 #define _TURRET_POWER_UP_H
     6#ifndef _LASER_POWER_UP_H
     7#define _LASER_POWER_UP_H
    88
    99#include "power_up.h"
    1010
    11 class TurretPowerUp : public PowerUp {
     11class LaserPowerUp : public PowerUp {
    1212
    1313 public:
    14   TurretPowerUp();
    15   TurretPowerUp(const TiXmlElement* root);
    16   virtual ~TurretPowerUp ();
     14  LaserPowerUp();
     15  LaserPowerUp(const TiXmlElement* root);
     16  virtual ~LaserPowerUp ();
    1717
    18   virtual void TurretPowerUp::collidesWith(WorldEntity* entity, const Vector& location);
     18  virtual void LaserPowerUp::collidesWith(WorldEntity* entity, const Vector& location);
    1919  virtual void tick(float dt);
    2020  virtual void draw();
     
    3232};
    3333
    34 #endif /* _TURRET_POWER_UP_H */
     34#endif /* _LASER_POWER_UP_H */
Note: See TracChangeset for help on using the changeset viewer.