Changeset 7891 for code/trunk/src/libraries/core/input/InputCommands.h
- Timestamp:
- Feb 14, 2011, 10:30:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/input/InputCommands.h
r7861 r7891 56 56 { 57 57 public: 58 BaseCommand() : bFixedKeybindMode_(false) {} 58 59 virtual ~BaseCommand() { } 60 59 61 virtual bool execute(float abs = 1.0f, float rel = 1.0f) = 0; 60 62 virtual CommandEvaluation* getEvaluation() = 0; 63 64 inline void setFixedKeybindMode(bool fixed) 65 { this->bFixedKeybindMode_ = fixed; } 66 inline bool hasFixedKeybindMode() const 67 { return this->bFixedKeybindMode_; } 68 69 private: 70 bool bFixedKeybindMode_; 61 71 }; 62 72
Note: See TracChangeset
for help on using the changeset viewer.