5#ifndef DEEPRTS_DAMAGETOKEN_H
6#define DEEPRTS_DAMAGETOKEN_H
19 [[nodiscard]]
int reward()
const override;
20 [[nodiscard]] std::shared_ptr<ScenarioCriteria>
clone()
const override{
21 return std::shared_ptr<ScenarioCriteria>(
new DamageTaken(*
this));
Definition: DamageToken.h:12
bool evaluate(const Player &player) override
Definition: DamageToken.cpp:13
int reward() const override
Definition: DamageToken.cpp:18
DamageTaken(int damageTakenLimit, int rewardSuccess=0.01, int rewardFailure=-0.01)
Definition: DamageToken.cpp:7
std::shared_ptr< ScenarioCriteria > clone() const override
Definition: DamageToken.h:20
Definition: ScenarioCriteria.h:14
const int rewardFailure
Definition: ScenarioCriteria.h:18
const int rewardSuccess
Definition: ScenarioCriteria.h:17
Definition: DamageDone.h:10