Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/proxy/src/world_entities/npcs/network_turret.h @ 9608

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

orxonox/proxy: added a new Turret for better network synchronisation

File size: 621 bytes
RevLine 
[5596]1/*!
[9608]2 * @file network_turret.h
[5596]3 * @brief description
4*/
5
[9608]6#ifndef _NETWORK_TURRET_H
7#define _NETWORK_TURRET_H
[5596]8
[5685]9#include "npcs/npc.h"
[5596]10
[5740]11class Weapon;
12
[5596]13//! A Class to ...
[9608]14class NetworkTurret : public NPC
[5596]15{
16
[9608]17public:
18  NetworkTurret(const TiXmlElement* root = NULL);
19  virtual ~NetworkTurret();
[5596]20
[6512]21  virtual void loadParams(const TiXmlElement* root);
[5596]22
23  virtual void postSpawn ();
24  virtual void leftWorld ();
25
[9235]26  virtual void destroy(WorldEntity* killer);
[5596]27
28  virtual void draw() const;
[5739]29  virtual void tick(float time);
[5596]30
[9608]31private:
32  void init();
33
34private:
35  PNode  weaponHolder;
36  Weapon *weapon;
[5596]37};
38
[9608]39#endif /* _NETWORK_TURRET_H */
Note: See TracBrowser for help on using the repository browser.