Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9406 was 7954, checked in by patrick, 18 years ago

trunk: merged the network branche back to trunk.

File size: 757 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 {
[2077]15
16 public:
[7065]17  TurretPowerUp(const TiXmlElement* root = NULL);
[5434]18  virtual ~TurretPowerUp ();
[5433]19
[6512]20  virtual void loadParams(const TiXmlElement* root);
21
[5435]22  virtual void TurretPowerUp::collidesWith(WorldEntity* entity, const Vector& location);
23  virtual void tick(float dt);
[5500]24  virtual void draw() const;
[5435]25
[5434]26  private:
27   void init();
[5435]28
29  private:
30   Vector              rotation;
31   float               cycle;
[5437]32
33   Model*              sphereModel;
34   Material*           sphereMaterial;
[2077]35};
36
[5434]37#endif /* _TURRET_POWER_UP_H */
Note: See TracBrowser for help on using the repository browser.