Add Cover card and implement block

This commit is contained in:
henriquenakashima 2020-09-19 00:55:36 -04:00
parent ba5b890c2a
commit b4dd6c3496
8 changed files with 266 additions and 3 deletions

View file

@ -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");
}