Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2006, 11:33:31 AM (19 years ago)
Author:
bensch
Message:

orxonox/proxy: var-change-handler for the groups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/npcs/network_turret.h

    r9608 r9610  
    99#include "npcs/npc.h"
    1010
    11 class Weapon;
     11class TargetingTurret;
    1212
    1313//! A Class to ...
     
    2424  virtual void leftWorld ();
    2525
     26
    2627  virtual void destroy(WorldEntity* killer);
    2728
    2829  virtual void draw() const;
    2930  virtual void tick(float time);
     31
     32
     33  void setTargetGroup(int targetGroup);
     34  void setTargetGroupS(const std::string& targetGroup);
     35
     36  virtual void varChangeHandler( std::list<int> & id );
     37
    3038
    3139private:
     
    3442private:
    3543  PNode  weaponHolder;
    36   Weapon *weapon;
     44  TargetingTurret *weapon;
     45
     46  int    targetGroup;
     47  int    targetGroup_write;
     48
     49  int    targetGroup_handle;
    3750};
    3851
Note: See TracChangeset for help on using the changeset viewer.