Create MonsterCard
This commit is contained in:
parent
169210efbe
commit
cce0b2891c
22 changed files with 203 additions and 27 deletions
16
Assets/Battle/MonsterCard.cs
Normal file
16
Assets/Battle/MonsterCard.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public abstract class MonsterCard : BaseCard
|
||||
{
|
||||
private MCardId id;
|
||||
|
||||
public MonsterCard(BattleParticipant owner, MCardId id, string displayName, int cost, CardType type,
|
||||
string effectText)
|
||||
: base(owner, displayName, cost, type, effectText) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public abstract IEnumerator Use(IBattleEffectApplier effectApplier, MonsterViewpoint monsterViewpoint);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue