Changeset 8876 in orxonox.OLD for branches/single_player_map/src/world_entities/door.h
- Timestamp:
- Jun 28, 2006, 5:33:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/door.h
r8875 r8876 18 18 virtual void loadParams(const TiXmlElement* root); 19 19 20 void setAnim(int animationIndex, int animPlaybackMode);21 20 void setActionRadius(float radius) { this->actionRadius = radius; } 22 21 … … 26 25 void close(); 27 26 27 void lock() { this->bLocked = true; } 28 void unlock() { this->bLocked = false; } 29 bool isLocked() const { return this->bLocked; } 30 31 28 32 private: 29 33 bool checkOpen(); 34 void setAnimation(int animationIndex, int animPlaybackMode); 35 30 36 31 37 private: 32 38 bool bOpen; //!< true if the door is open 39 bool bLocked; //!< true if this door is locked 33 40 float actionRadius; //!< action radius 41 34 42 35 43 };
Note: See TracChangeset
for help on using the changeset viewer.