19 lines
566 B
C#
19 lines
566 B
C#
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using Cysharp.Threading.Tasks;
|
|
using UnityEngine;
|
|
|
|
namespace Code.OfficeGame.BattleMode.Actions
|
|
{
|
|
public abstract class EntityTimelineActor : MonoBehaviour
|
|
{
|
|
public BattleAction CurrentAction { get; protected set;}
|
|
public bool Finished => CurrentAction == null || CurrentAction.Finished;
|
|
|
|
public abstract UniTask DecideAction(CancellationToken ct);
|
|
|
|
public Animator animator;
|
|
|
|
protected Dictionary<BattleActionType, BattleAction> BattleActions = new();
|
|
}
|
|
} |