25 lines
533 B
C#
25 lines
533 B
C#
using Code.Infrastructure.Camera;
|
|
using Reflex.Attributes;
|
|
|
|
namespace Code.Infrastructure.App
|
|
{
|
|
public enum AppStates
|
|
{
|
|
Bootstrap,
|
|
Gameplay,
|
|
MainMenu
|
|
}
|
|
|
|
public class AppStateMachineContext
|
|
{
|
|
[Inject] public SceneLoader.SceneLoader SceneLoader { get; set; }
|
|
[Inject] public CameraStateMachine Camera { get; set; }
|
|
}
|
|
|
|
[Generators.StateMachine(typeof(AppStateMachineContext),typeof(AppStates))]
|
|
public partial class AppStateMachine
|
|
{
|
|
|
|
}
|
|
|
|
} |