mixedcards/Assets/Battle/BattleHero.cs
henriquenakashima 3cb9eb5031 Initial import
2020-09-17 22:52:50 -04:00

26 lines
704 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BattleHero: BattleParticipant
{
public BattleHero(HeroId id) {
switch (id)
{
case HeroId.Alchemist:
this.displayName = "Alex";
this.maxHP = 10;
break;
case HeroId.Brute:
this.displayName = "Brian";
this.maxHP = 10;
break;
case HeroId.Shaman:
this.displayName = "Slug";
this.maxHP = 12;
break;
default:
throw new System.ArgumentException("HeroId unknown", "id");
}
}
}