public override void ApplyCondition(IGameController controller) { if (CheckCondition == CheckCondition.Add) { controller.AddItemToPlayer(Value); } if (CheckCondition == CheckCondition.Subtract) { controller.RemoveItemFromPlayer(Value); } }
public override void ApplyCondition(IGameController controller) { if (CheckCondition == CheckCondition.Add) { controller.AddItemToPlayer(Value); } if (CheckCondition == CheckCondition.Subtract) { controller.RemoveItemFromPlayer(Value); } }