Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: added class turret, a subclass for turrets, this is not finished yet, but will be in some time from now…

File size: 557 bytes
Line 
1/*!
2 * @file turret.h
3*/
4
5
6#ifndef _TURRET_H
7#define _TURRET_H
8
9#include "weapon.h"
10
11class Turret : public Weapon
12  {
13  public:
14    Turret (WeaponManager* weaponManager);
15    virtual ~Turret ();
16
17    virtual void activate();
18    virtual void deactivate();
19
20    virtual void fire();
21    virtual void destroy();
22
23    virtual void draw();
24
25  private:
26    PNode* objectComponent1;         //<! the gun is made of multiple parts, these PNodes represent their location and orientation
27
28    int leftRight;   // this will become an enum
29  };
30#endif /* _TURRET_H */
Note: See TracBrowser for help on using the repository browser.