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