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