Implement acquiring cards. Thunderstorm acquires Lightning Strikes.

This commit is contained in:
henriquenakashima 2020-09-19 17:26:14 -04:00
parent 60afd791dd
commit 1e8d3bb068
12 changed files with 121 additions and 5 deletions

View file

@ -5,6 +5,7 @@ using UnityEngine;
public enum CardId {
CrashingPunch,
Cover,
LightningStrike,
Thunderstorm,
}
@ -13,6 +14,7 @@ public class CardDatabase
private static Dictionary<CardId, HeroId> CARD_TO_HERO = new Dictionary<CardId, HeroId>() {
{CardId.CrashingPunch, HeroId.Brute},
{CardId.Cover, HeroId.Brute},
{CardId.LightningStrike, HeroId.Shaman},
{CardId.Thunderstorm, HeroId.Shaman},
};
@ -23,6 +25,8 @@ public class CardDatabase
return new CardCrashingPunch(owner);
case CardId.Cover:
return new CardCover(owner);
case CardId.LightningStrike:
return new CardLightningStrike(owner);
case CardId.Thunderstorm:
return new CardThunderstorm(owner);
default: