5#ifndef DEEPRTS_STONECOLLECT_H
6#define DEEPRTS_STONECOLLECT_H
12 int stoneCollectLimit;
18 [[nodiscard]]
int reward()
const override;
19 [[nodiscard]] std::shared_ptr<ScenarioCriteria>
clone()
const override{
20 return std::shared_ptr<ScenarioCriteria>(
new StoneCollect(*
this));
Definition: ScenarioCriteria.h:14
const int rewardFailure
Definition: ScenarioCriteria.h:18
const int rewardSuccess
Definition: ScenarioCriteria.h:17
Definition: StoneCollect.h:11
int reward() const override
Definition: StoneCollect.cpp:19
StoneCollect(int stonerCollectLimit, int rewardSuccess=0.01, int rewardFailure=-0.01)
Definition: StoneCollect.cpp:8
bool evaluate(const Player &player) override
Definition: StoneCollect.cpp:14
std::shared_ptr< ScenarioCriteria > clone() const override
Definition: StoneCollect.h:19
Definition: DamageDone.h:10