Create MonsterCard
This commit is contained in:
parent
169210efbe
commit
cce0b2891c
22 changed files with 203 additions and 27 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue