Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/world_entities/weapons/cannon.h @ 9827

Last change on this file since 9827 was 8777, checked in by patrick, 18 years ago

trunk: damage and distruction reimplemented

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