Changeset 967 for code/branches/core2/src/orxonox/core/CommandExecutor.h
- Timestamp:
- Mar 31, 2008, 12:25:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/CommandExecutor.h
r965 r967 77 77 78 78 inline void setAdditionalParameter(const std::string& param) 79 { this->additionalParameter_ = param; }79 { this->additionalParameter_ = param; this->bEvaluatedParams_ = false; } 80 80 inline std::string getAdditionalParameter() const 81 81 { return (this->additionalParameter_ != "") ? (" " + this->additionalParameter_) : ""; } 82 83 void setEvaluatedParameter(unsigned int index, MultiTypeMath param); 84 MultiTypeMath getEvaluatedParameter(unsigned int index) const; 85 86 void evaluateParams(); 82 87 83 88 private: … … 102 107 std::string errorMessage_; 103 108 CommandState state_; 109 110 bool bEvaluatedParams_; 111 MultiTypeMath param_[5]; 112 ExecutorStatic* evaluatedExecutor_; 104 113 }; 105 114
Note: See TracChangeset
for help on using the changeset viewer.