- Timestamp:
- Nov 1, 2015, 1:05:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/overlays/hud/HUDWeapon.h
r10724 r10739 72 72 inline Vector2 getWeaponModeHUDActualSize() const 73 73 { return weaponModeHUDActualSize_; } 74 inline void setPositionOffset(Vector2 positionOffset) 75 { 76 this->positionOffset_ = positionOffset; 77 this->updatePosition(); 78 } 74 79 inline void setWeaponIndex(int index) 75 { weaponIndex_ = index; 76 this->updatePosition(); 80 { 81 weaponIndex_ = index; 82 this->updatePosition(); 77 83 } 78 84 … … 94 100 95 101 Vector2 weaponModeHUDActualSize_; 102 Vector2 positionOffset_; 96 103 int weaponIndex_; 97 104 };
Note: See TracChangeset
for help on using the changeset viewer.