Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 677 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  {
[9869]14    ObjectListDeclaration(Cannon);
[4827]15  public:
[5745]16    Cannon ();
[5621]17    Cannon (const TiXmlElement* root);
18    virtual ~Cannon ();
[3618]19
[4972]20    void init();
[6512]21    virtual void loadParams(const TiXmlElement* root);
[4972]22
[4827]23    virtual void activate();
24    virtual void deactivate();
[3618]25
[4827]26    virtual void fire();
[3618]27
[5500]28    virtual void draw() const;
[3752]29
[4827]30  private:
[5621]31//     PNode* objectComponent1;         //<! the gun is made of multiple parts, these PNodes represent their location and orientation
[4934]32  };
[5621]33#endif /* _CANNON_H */
Note: See TracBrowser for help on using the repository browser.