Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/spaceshipcontrol/src/world_entities/weapons/cannon.h @ 5914

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

orxonox/trunk: merged the WorldEntities into the Trunk.
Merged with command:
svn merge branches/world_entities/ trunk/ -r5516:HEAD

conflics from world_entities changed in favor of branches/world_entity
all other conflict in favor of the trunk

File size: 662 bytes
Line 
1/*!
2 * @file cannon.h
3 * a weapon that is fix on top of the player to fire heavy weaponary.
4*/
5
6
7#ifndef _CANNON_H
8#define _CANNON_H
9
10#include "weapon.h"
11
12class Cannon : public Weapon
13  {
14  public:
15    Cannon ();
16    Cannon (const TiXmlElement* root);
17    virtual ~Cannon ();
18
19    void init();
20    void loadParams(const TiXmlElement* root);
21
22    virtual void activate();
23    virtual void deactivate();
24
25    virtual void fire();
26    virtual void destroy();
27
28    virtual void draw() const;
29
30  private:
31//     PNode* objectComponent1;         //<! the gun is made of multiple parts, these PNodes represent their location and orientation
32  };
33#endif /* _CANNON_H */
Note: See TracBrowser for help on using the repository browser.