Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 8:27:13 PM (19 years ago)
Author:
patrick
Message:

aiming sys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/aiming_system.h

    r9166 r9168  
    2222
    2323 public:
    24   AimingSystem(const TiXmlElement* root = NULL);
     24  AimingSystem(WorldEntity* owner = NULL);
    2525  virtual ~AimingSystem();
    2626
    2727  void init();
    28   virtual void loadParams(const TiXmlElement* root);
    29 
    30 
    31   inline void selectTarget(PNode* target) { this->setParent(target); };
    32   inline PNode* getTarget(PNode* target) { return this->getParent(); };
    3328
    3429  WorldEntity* getNearestTarget();
    35 
    3630
    3731  void setRange(float range){this->range = range;};
     
    4741   std::vector<WorldEntity*>   selectionList;        //!< the selections
    4842
     43   WorldEntity*                owner;                //!< the owner of the targeting system
    4944
    5045};
Note: See TracChangeset for help on using the changeset viewer.