Check win and loss states
This commit is contained in:
parent
adc84f9aba
commit
8c641f5524
8 changed files with 69 additions and 7 deletions
|
|
@ -5,6 +5,7 @@ using UnityEngine;
|
|||
public enum MCardId {
|
||||
VampireFangs,
|
||||
GolemFist,
|
||||
QuickSwiftDeath,
|
||||
}
|
||||
|
||||
public class MonsterCardDatabase : CardDatabase<MonsterCard>
|
||||
|
|
@ -17,6 +18,8 @@ public class MonsterCardDatabase : CardDatabase<MonsterCard>
|
|||
return new VampireFangsMCard(owner);
|
||||
case MCardId.GolemFist:
|
||||
return new GolemFistMCard(owner);
|
||||
case MCardId.QuickSwiftDeath:
|
||||
return new QuickSwiftDeathMCard(owner);
|
||||
default:
|
||||
throw new System.ArgumentException("MCardId unknown", "id");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue