Добавлена камера, обновлены инпут мапы и ещё чуть-чуть штук для теста (включая кринжовую сцену, стейт машины и др.)

This commit is contained in:
MrTorex committed 2025-10-16 22:06:27 +03:00
1 parent b5e28c7abb
commit 86c9c126a6
20 files changed
+1062 -16

No files matched your search

@@ -0,0 +1,38 @@
using Code.App.StateMachine;
using Code.Input;
using Code.Scenes;
using Code.StateMachine;
namespace Code.App.AppStates
{
//TODO: поменяно для теста
public class MovementDevState: BaseState<AppStateMachineContext>
{
public MovementDevState(AppStateMachineContext context) : base(context)
{
}
public override void EnterState()
{
Context.SceneLoaderService.LoadScene((int)SceneIds.MovementDev, SceneLoaded);
Context.InputService.EnableMap(ActionMappings.Gameplay);
}
private void SceneLoaded()
{
base.EnterState();
}
public override void Tick()
{
}
public override void ExitState()
{
Context.InputService.DisableMap(ActionMappings.Gameplay);
base.ExitState();
}
}
}