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