Changeset 5527 in orxonox.OLD for branches/world_entities/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Nov 10, 2005, 12:33:31 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/world_entities/src/world_entities/weapons/weapon_manager.h
r5453 r5527 17 17 // FORWARD DECLARATION 18 18 template <class T> class tAnimation; 19 template <class T> class tIterator; 19 20 20 21 … … 77 78 78 79 /** @returns a fixed target namely the Crosshair's 3D position */ 79 inline PNode* getFixedTarget() { return this->crosshair; }; 80 inline PNode* getFixedTarget() const { return this->crosshair; }; 81 PNode* getSomeTarget(); 82 PNode* getDistanceTarget(const PNode* carrier, float distance); 83 80 84 void fire(); 85 //! @TODO: implement this function (maybe also in Weapon itself) 86 void releaseFire(); 81 87 82 88 void tick(float dt); … … 102 108 Crosshair* crosshair; //!< an aim. 103 109 tAnimation<Crosshair>* crossHairSizeAnim; //!< An animation for the crosshair (scaling) 110 111 tIterator<BaseObject>* targetIterator; //!< An iterator for traversion lists of enemies. 104 112 };
Note: See TracChangeset
for help on using the changeset viewer.