Split Action into Attack and Skill
This commit is contained in:
parent
1e8d3bb068
commit
6724d2b5c5
6 changed files with 23 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue