1
This commit is contained in:
@@ -3,6 +3,25 @@ using System.Collections.Generic;
|
||||
|
||||
namespace BITKit.StateMachine
|
||||
{
|
||||
public struct EmptyState:IState
|
||||
{
|
||||
public bool Enabled { get; set; }
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void OnStateEntry(IState old)
|
||||
{
|
||||
}
|
||||
|
||||
public void OnStateUpdate(float deltaTime)
|
||||
{
|
||||
}
|
||||
|
||||
public void OnStateExit(IState old, IState newState)
|
||||
{
|
||||
}
|
||||
}
|
||||
public interface IState
|
||||
{
|
||||
bool Enabled { get; set; }
|
||||
|
Reference in New Issue
Block a user