Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: cool bars for the rocket-louncher

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