Newer
Older
HierarchicalFSM-Unity3D / Assets / Scripts / Interfaces / IState.cs
@Rackday Rackday on 14 Aug 286 bytes Major Update
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public interface IState
{
    public enum TargetState
    {
        Armed,
        Aiming,
        Reloading,
        OutOfAmmo
    }

    void ChangeState(TargetState state);
    TargetState GetState();
}