#include <DamageDone.h>
◆ DamageDone()
DeepRTS::Criteria::DamageDone::DamageDone |
( |
int |
damageDone, |
|
|
int |
rewardSuccess = 0.01 , |
|
|
int |
rewardFailure = -0.01 |
|
) |
| |
|
explicit |
◆ clone()
std::shared_ptr< ScenarioCriteria > DeepRTS::Criteria::DamageDone::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ evaluate()
bool DeepRTS::Criteria::DamageDone::evaluate |
( |
const Player & |
player | ) |
|
|
overridevirtual |
◆ reward()
int DeepRTS::Criteria::DamageDone::reward |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /home/per/git/code/deep-rts/include/DeepRTS/scenario/criterias/DamageDone.h
- /home/per/git/code/deep-rts/include/DeepRTS/scenario/criterias/DamageDone.cpp