Add Cover card and implement block
This commit is contained in:
parent
ba5b890c2a
commit
b4dd6c3496
8 changed files with 266 additions and 3 deletions
|
|
@ -3,7 +3,8 @@ using System.Collections.Generic;
|
|||
using UnityEngine;
|
||||
|
||||
public enum CardId {
|
||||
CrashingPunch
|
||||
CrashingPunch,
|
||||
Cover
|
||||
}
|
||||
|
||||
public class CardDatabase
|
||||
|
|
@ -13,6 +14,8 @@ public class CardDatabase
|
|||
{
|
||||
case CardId.CrashingPunch:
|
||||
return new CardCrashingPunch();
|
||||
case CardId.Cover:
|
||||
return new CardCover();
|
||||
default:
|
||||
throw new System.ArgumentException("CardId unknown", "id");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue