5#ifndef DEEPRTS_UNITINCREMENT_H
6#define DEEPRTS_UNITINCREMENT_H
17 [[nodiscard]]
int reward()
const override;
19 [[nodiscard]] std::shared_ptr<ScenarioCriteria>
clone()
const override{
20 return std::shared_ptr<ScenarioCriteria>(
new UnitIncrement(*
this));
Definition: ScenarioCriteria.h:14
const int rewardFailure
Definition: ScenarioCriteria.h:18
const int rewardSuccess
Definition: ScenarioCriteria.h:17
Definition: UnitIncrement.h:10
std::shared_ptr< ScenarioCriteria > clone() const override
Definition: UnitIncrement.h:19
UnitIncrement(Constants::Unit unitType, int amount, int rewardSuccess=0.01, int rewardFailure=-0.01)
Definition: UnitIncrement.cpp:7
bool evaluate(const Player &player) override
Definition: UnitIncrement.cpp:13
int reward() const override
Definition: UnitIncrement.cpp:52
Unit
Definition: Constants.h:20
Definition: DamageDone.h:10