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