Changeset 1887 for code/trunk/src/core/input/HalfAxis.h
- Timestamp:
- Oct 6, 2008, 12:31:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/input/HalfAxis.h
r1755 r1887 38 38 #include "core/CorePrereqs.h" 39 39 #include "Button.h" 40 #include "InputCommands.h" 40 41 41 42 namespace orxonox … … 67 68 bool hasChanged_; 68 69 }; 70 71 inline bool HalfAxis::execute() 72 { 73 bool success = true; 74 for (unsigned int i = 0; i < nParamCommands_; i++) 75 success = paramCommands_[i]->execute(absVal_, relVal_) && success; 76 return success; 77 } 69 78 } 70 79
Note: See TracChangeset
for help on using the changeset viewer.