OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::StatStringCondition Class Reference

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...
 

Constructor & Destructor Documentation

OpenXcom::StatStringCondition::StatStringCondition ( const std::string  conditionName,
int  minVal,
int  maxVal 
)

Creates a blank StatStringCondition.

Parameters
conditionNameName of the condition.
minValMinimum value.
maxValMaximum value.
OpenXcom::StatStringCondition::~StatStringCondition ( )
virtual

Cleans up the StatStringCondition.

Cleans up the extra StatStringCondition.

Member Function Documentation

const std::string OpenXcom::StatStringCondition::getConditionName ( )

Get MinVal.

Gets the condition string.

Returns
Name of the associated stat.
int OpenXcom::StatStringCondition::getMaxVal ( )

Get MaxVal.

Gets the maximum value for the condition (default is 255).

Returns
The maximum value.
int OpenXcom::StatStringCondition::getMinVal ( )

Get MinVal.

Gets the minimum value for the condition (default is 0).

Returns
The minimum value.

The documentation for this class was generated from the following files: