Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/weapons/turret.h @ 6306

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

orxonox/trunk: cool bars for the rocket-louncher

File size: 534 bytes
Line 
1/*!
2 * @file turret.h
3*/
4
5
6#ifndef _TURRET_H
7#define _TURRET_H
8
9#include "weapon.h"
10
11#include "glgui_bar.h"
12
13class Turret : public Weapon
14  {
15  public:
16    Turret ();
17    Turret(const TiXmlElement* root);
18    virtual ~Turret ();
19
20    void init();
21    void loadParams(const TiXmlElement* root);
22
23    virtual void activate();
24    virtual void deactivate();
25
26    virtual void tick(float dt);
27    virtual void fire();
28    virtual void destroy();
29
30
31  private:
32    GLGuiBar*    bar;
33    GLGuiBar*    loadedBar;
34  };
35
36#endif /* _TURRET_H */
Note: See TracBrowser for help on using the repository browser.