Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/power_ups/turret_power_up.h @ 9869

Last change on this file since 9869 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
RevLine 
[5433]1/*!
[5434]2 * @file turret_power_up.h
[5433]3 * @brief A class representing a PowerUp in the world.
4*/
[2077]5
[5434]6#ifndef _TURRET_POWER_UP_H
7#define _TURRET_POWER_UP_H
[2077]8
[5434]9#include "power_up.h"
[2077]10
[5511]11/* FORWARD DEFINITION */
12class Material;
13
[5434]14class TurretPowerUp : public PowerUp {
[9869]15  ObjectListDeclaration(TurretPowerUp);
[2077]16
17 public:
[7065]18  TurretPowerUp(const TiXmlElement* root = NULL);
[5434]19  virtual ~TurretPowerUp ();
[5433]20
[6512]21  virtual void loadParams(const TiXmlElement* root);
22
[9869]23  virtual void collidesWith(WorldEntity* entity, const Vector& location);
[5435]24  virtual void tick(float dt);
[5500]25  virtual void draw() const;
[5435]26
[5434]27  private:
28   void init();
[5435]29
30  private:
31   Vector              rotation;
32   float               cycle;
[5437]33
34   Model*              sphereModel;
35   Material*           sphereMaterial;
[2077]36};
37
[5434]38#endif /* _TURRET_POWER_UP_H */
Note: See TracBrowser for help on using the repository browser.