Create MonsterCard

This commit is contained in:
henriquenakashima 2020-09-19 23:25:42 -04:00
parent 169210efbe
commit cce0b2891c
22 changed files with 203 additions and 27 deletions

View file

@ -5,24 +5,19 @@ using UnityEngine;
public abstract class BaseCard
{
protected BattleParticipant owner;
protected CardId id;
protected string displayName;
protected int cost;
protected CardType type;
protected string effectText;
public BaseCard(BattleParticipant owner, CardId id, string displayName, int cost, CardType type, string effectText) {
public BaseCard(BattleParticipant owner, string displayName, int cost, CardType type, string effectText) {
this.owner = owner;
this.id = id;
this.displayName = displayName;
this.cost = cost;
this.type = type;
this.effectText = effectText;
}
public abstract IEnumerator Use(IBattleEffectApplier effectApplier, BattlePlayerControls playerControls);
public CardId GetId() {return this.id;}
public string GetDisplayName() {return this.displayName;}
public int GetCost() {return this.cost;}
public string GetDisplayType() {