Refactor BattleSprites out of BattleController
This commit is contained in:
parent
737a851283
commit
eb51ebace0
8 changed files with 110 additions and 61 deletions
|
|
@ -4,10 +4,10 @@ using UnityEngine;
|
|||
|
||||
public class BattleHero: BattleParticipant
|
||||
{
|
||||
HeroId id;
|
||||
protected HeroId mId;
|
||||
|
||||
public BattleHero(HeroId id) : base(TeamChoice.Heroes) {
|
||||
this.id = id;
|
||||
mId = id;
|
||||
switch (id)
|
||||
{
|
||||
case HeroId.Alchemist:
|
||||
|
|
@ -31,7 +31,5 @@ public class BattleHero: BattleParticipant
|
|||
}
|
||||
}
|
||||
|
||||
public HeroId GetId() {
|
||||
return this.id;
|
||||
}
|
||||
public HeroId Id {get => mId;}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue