Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9513 in orxonox.OLD for branches/proxy/src/world_entities/weapons


Ignore:
Timestamp:
Jul 27, 2006, 5:38:53 PM (18 years ago)
Author:
bensch
Message:

toList editable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/weapons/aim.h

    r7221 r9513  
    3737
    3838  inline void selectTarget(PNode* target) { this->setParent(target); };
    39   inline PNode* getTarget(PNode* target) { return this->getParent(); };
     39  inline PNode* getTarget(PNode* target) const { return this->getParent(); };
    4040
    4141  void searchTarget();
    4242
    43   void setRange(float range){this->range = range;};
    44   void setAngle(float angle){this->angle = angle;};
    45   void setGroup(OM_LIST group){this->group = group;};
     43  void setRange(float range) {this->range = range;};
     44  void setAngle(float angle) {this->angle = angle;};
     45  void setGroup(OM_LIST group) {this->group = group;};
    4646
    4747  void setSize(float size);
Note: See TracChangeset for help on using the changeset viewer.