void Visit(Monster monster) { //Player is greedy when it owns toxic potion. if (_toxicPotionCount > 0) { _toxicPotionCount--; Life += monster.Life; return; } FightManager.Combat(this, monster, Constants.MonsterMaxDamage, Constants.MonsterReward); }
void Visit(BigMonster bigMonster) { FightManager.Combat(this, bigMonster, Constants.BigMonsterMaxDamage, Constants.BigMonsterReward); }