Changeset 9869 in orxonox.OLD for trunk/src/world_entities/weapons/targeting_turret.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/targeting_turret.h
r9656 r9869 12 12 class TargetingTurret : public Weapon 13 13 { 14 ObjectListDeclaration(TargetingTurret); 14 15 public: 15 16 TargetingTurret(const TiXmlElement* root = NULL); … … 26 27 virtual void draw() const; 27 28 28 void setTargetGroup(OM_LIST targetGroup) { this->target .setTargetGroup(targetGroup); };29 void setTargetGroup(OM_LIST targetGroup) { this->target->setTargetGroup(targetGroup); }; 29 30 const PNode* getLockedTarget() const { return lockedTarget; }; 30 31 … … 33 34 34 35 private: 35 Aim 36 Aim* target; 36 37 PNode* lockedTarget; 37 38 float lockedTime;
Note: See TracChangeset
for help on using the changeset viewer.