#include <UnitIncrement.h>
◆ UnitIncrement()
DeepRTS::Criteria::UnitIncrement::UnitIncrement |
( |
Constants::Unit |
unitType, |
|
|
int |
amount, |
|
|
int |
rewardSuccess = 0.01 , |
|
|
int |
rewardFailure = -0.01 |
|
) |
| |
|
explicit |
◆ clone()
std::shared_ptr< ScenarioCriteria > DeepRTS::Criteria::UnitIncrement::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ evaluate()
bool DeepRTS::Criteria::UnitIncrement::evaluate |
( |
const Player & |
player | ) |
|
|
overridevirtual |
◆ reward()
int DeepRTS::Criteria::UnitIncrement::reward |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: