Initial commit

This commit is contained in:
ThomasCharester committed 2025-12-12 23:11:01 +03:00
commit 662f4a1d05
89 files changed
+8008

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
using Reflex.Core;
namespace Code.Debug
{
public class DebugInstaller : IInstaller
{
public void InstallBindings(ContainerBuilder containerBuilder)
{
containerBuilder.AddSingleton(typeof(DebugStateMachine));
containerBuilder.OnContainerBuilt += Bootstrap;
}
private void Bootstrap(Container container)
{
container.Resolve<DebugStateMachine>();
}
}
}
+3
View File
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 35352cf8cf4f4b638e1a1693a704f052
timeCreated: 1765565958
+20
View File
@@ -0,0 +1,20 @@
using System;
using Code.StateMachine;
namespace Code.Debug
{
public enum DebugStates
{
First,
Second,
Third
}
public class DebugStateMachineContext
{
public int SomeValue;
}
[Generators.StateMachine(typeof(DebugStateMachineContext), typeof(DebugStates))]
public partial class DebugStateMachine
{ }
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 71d501bd1540463496c6df3fa0bbb0ca
timeCreated: 1765564028
+3
View File
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6e84c82fd2ce4c449bee71acf27ed874
timeCreated: 1765566284
+24
View File
@@ -0,0 +1,24 @@
using Code.Generators;
using Code.StateMachine;
namespace Code.Debug.States
{
[State(typeof(DebugStateMachineContext) )]
public partial class FirstState : BaseState<DebugStates, DebugStateMachineContext>
{
public FirstState(DebugStateMachineContext context) : base(context)
{
}
public override DebugStates myState => DebugStates.First;
}
[State(typeof(DebugStateMachineContext) )]
public partial class SecondState : BaseState<DebugStates, DebugStateMachineContext>
{
public SecondState(DebugStateMachineContext context) : base(context)
{
}
public override DebugStates myState => DebugStates.First;
}
}
@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 24af5a4d2545481589242a5945bbafa5
timeCreated: 1765566292