mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-05 07:41:10 +00:00
init: add project
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace _Project.Develop.Runtime.Utilities.StateMachine
|
||||
{
|
||||
public abstract class State
|
||||
{
|
||||
public event Action Entered;
|
||||
|
||||
public event Action Exited;
|
||||
|
||||
public virtual void OnEnter() => Entered?.Invoke();
|
||||
|
||||
public virtual void OnExit() => Exited?.Invoke();
|
||||
|
||||
public virtual void Update(float deltaTime) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user