Changeset 6045 for code/branches/steering/src/orxonox/weaponsystem
- Timestamp:
- Nov 11, 2009, 5:39:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/steering/src/orxonox/weaponsystem/WeaponMode.h
r5929 r6045 38 38 #include "core/SubclassIdentifier.h" 39 39 #include "tools/Timer.h" 40 41 #include "weaponsystem/Weapon.h" 42 #include "weaponsystem/WeaponPack.h" 43 #include "weaponsystem/WeaponSystem.h" 44 #include "worldentities/pawns/Pawn.h" 45 #include "controllers/Controller.h" 40 46 41 47 namespace orxonox … … 125 131 { return this->mode_; } 126 132 133 inline Vector3 getTarget() 134 { return this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getController()->getTarget(); } 135 127 136 protected: 128 137 virtual void fire() = 0;
Note: See TracChangeset
for help on using the changeset viewer.