5#ifndef DEEPRTS_NUMUNITTYPECREATED_H
6#define DEEPRTS_NUMUNITTYPECREATED_H
20 [[nodiscard]]
int reward()
const override;
21 [[nodiscard]] std::shared_ptr<ScenarioCriteria>
clone()
const override{
Definition: NumUnitTypeCreated.h:12
bool evaluate(const Player &player) override
Definition: NumUnitTypeCreated.cpp:8
std::shared_ptr< ScenarioCriteria > clone() const override
Definition: NumUnitTypeCreated.h:21
NumUnitTypeCreated(Constants::Unit unitType, int count, int rewardSuccess=0.01, int rewardFailure=-0.01)
Definition: NumUnitTypeCreated.cpp:37
int reward() const override
Definition: NumUnitTypeCreated.cpp:42
Definition: ScenarioCriteria.h:14
const int rewardFailure
Definition: ScenarioCriteria.h:18
const int rewardSuccess
Definition: ScenarioCriteria.h:17
Unit
Definition: Constants.h:20
Definition: DamageDone.h:10