OpenXcom
1.0
Open-source clone of the original X-Com
|
Public Member Functions | |
StatStringCondition (const std::string conditionName, int minVal, int maxVal) | |
Creates a blank StatStringCondition. More... | |
virtual | ~StatStringCondition () |
Cleans up the StatStringCondition. More... | |
const std::string | getConditionName () |
Get MinVal. More... | |
int | getMinVal () |
Get MinVal. More... | |
int | getMaxVal () |
Get MaxVal. More... | |
OpenXcom::StatStringCondition::StatStringCondition | ( | const std::string | conditionName, |
int | minVal, | ||
int | maxVal | ||
) |
Creates a blank StatStringCondition.
conditionName | Name of the condition. |
minVal | Minimum value. |
maxVal | Maximum value. |
|
virtual |
Cleans up the StatStringCondition.
Cleans up the extra StatStringCondition.
const std::string OpenXcom::StatStringCondition::getConditionName | ( | ) |
Get MinVal.
Gets the condition string.
int OpenXcom::StatStringCondition::getMaxVal | ( | ) |
Get MaxVal.
Gets the maximum value for the condition (default is 255).
int OpenXcom::StatStringCondition::getMinVal | ( | ) |
Get MinVal.
Gets the minimum value for the condition (default is 0).