21 lines
581 B
C#
21 lines
581 B
C#
|
|
/********************************************************************************
|
|
*Create By CG
|
|
*Function ״̬½Ó¿Ú
|
|
*********************************************************************************/
|
|
namespace CG.Framework
|
|
{
|
|
public abstract class State
|
|
{
|
|
protected StateContext _stateContext;
|
|
public StateContext _StateContext => _stateContext;
|
|
public abstract string _SceneName { get; }
|
|
|
|
public State(StateContext stateContext)
|
|
{
|
|
_stateContext = stateContext;
|
|
}
|
|
public abstract void EnterState();
|
|
}
|
|
}
|