19 lines
592 B
C#
19 lines
592 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public abstract class HeroCard : BaseCard
|
|
{
|
|
private HCardId id;
|
|
|
|
public HeroCard(BattleParticipant owner, HCardId id, string displayName, int cost, CardType type,
|
|
string effectText)
|
|
: base(owner, displayName, cost, type, effectText, id.ToString()) {
|
|
this.id = id;
|
|
}
|
|
|
|
public abstract IEnumerator Use(IBattleEffectApplier effectApplier,
|
|
MonsterViewpoint viewpoint, BattlePlayerControls playerControls);
|
|
|
|
public HCardId GetId() {return this.id;}
|
|
}
|