Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/heathaze/src/world_entities/power_ups/turret_power_up.h

Last change on this file was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 782 bytes
Line 
1/*!
2 * @file turret_power_up.h
3 * @brief A class representing a PowerUp in the world.
4*/
5
6#ifndef _TURRET_POWER_UP_H
7#define _TURRET_POWER_UP_H
8
9#include "power_up.h"
10
11/* FORWARD DEFINITION */
12class Material;
13
14class TurretPowerUp : public PowerUp {
15  ObjectListDeclaration(TurretPowerUp);
16
17 public:
18  TurretPowerUp(const TiXmlElement* root = NULL);
19  virtual ~TurretPowerUp ();
20
21  virtual void loadParams(const TiXmlElement* root);
22
23  virtual void collidesWith(WorldEntity* entity, const Vector& location);
24  virtual void tick(float dt);
25  virtual void draw() const;
26
27  private:
28   void init();
29
30  private:
31   Vector              rotation;
32   float               cycle;
33
34   Model*              sphereModel;
35   Material*           sphereMaterial;
36};
37
38#endif /* _TURRET_POWER_UP_H */
Note: See TracBrowser for help on using the repository browser.