public void selectHero(int hero) { if (party[hero].currentState != Sprite.State.Resting && party[hero].currentState != Sprite.State.Dead) { SoundUtils.Play(SoundUtils.Sound.Input); selectedHero = party[hero]; battleMenu.selected = hero; state = EncounterState.ActionSelect; } }
public void resolve(PlayerSprite player, Sprite target, EnemyPanel enemies, GambitResult result) { action(player, target, result); }