Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/powerups/src/world_entities/power_ups/power_up.h @ 6040

Last change on this file since 6040 was 6040, checked in by manuel, 18 years ago

hopefully we see some colored spheres arounf powerups now

File size: 535 bytes
Line 
1/*!
2 * @file power_up.h
3 * @brief A class representing a PowerUp in the world.
4*/
5
6#ifndef _POWER_UP_H
7#define _POWER_UP_H
8
9#include "world_entity.h"
10
11class Material;
12
13class PowerUp : public WorldEntity {
14
15public:
16  void loadParams(const TiXmlElement* root);
17  void collidesWith (WorldEntity* entity, const Vector& location);
18
19  void draw();
20
21protected:
22  PowerUp(float r, float g, float b);
23  virtual ~PowerUp ();
24  virtual void hide();
25
26  static Model* sphereModel;
27
28private:
29  Material* sphereMaterial;
30};
31
32#endif /* _POWER_UP_H */
Note: See TracBrowser for help on using the repository browser.