public async Task Play(CharacterBattler battler) { foreach (var info in Animations) { await battler.AsyncPlayAndWait(info); await Task.Delay((int)(animationDelay * 1000)); } }
public Task Play(CharacterBattler battler) { return(battler.AsyncPlayAndWait(Animation)); }