Split Action into Attack and Skill

This commit is contained in:
henriquenakashima 2020-09-19 17:30:40 -04:00
parent 1e8d3bb068
commit 6724d2b5c5
6 changed files with 23 additions and 10 deletions

View file

@ -2,11 +2,6 @@
using System.Collections.Generic;
using UnityEngine;
public enum CardType {
Action,
Enchantment,
}
public abstract class BaseCard
{
protected BattleParticipant owner;
@ -32,8 +27,10 @@ public abstract class BaseCard
public int GetCost() {return this.cost;}
public string GetDisplayType() {
switch (this.type) {
case CardType.Action:
return "Action";
case CardType.Attack:
return "Attack";
case CardType.Skill:
return "Skill";
case CardType.Enchantment:
return "Enchantment";
default: