Добавлена камера, обновлены инпут мапы и ещё чуть-чуть штук для теста (включая кринжовую сцену, стейт машины и др.)
This commit is contained in:
1 parent
b5e28c7abb
commit
86c9c126a6
20 files changed
+1062
-16
No files matched your search
@@ -10,9 +10,12 @@ namespace Code.App.StateMachine
|
||||
States.Add(AppState.MainMenu, new MainMenuState(StateMachineContext));
|
||||
States.Add(AppState.Gameplay, new GameplayState(StateMachineContext));
|
||||
States.Add(AppState.GameOver, new GameOverState(StateMachineContext));
|
||||
//TODO: Для теста
|
||||
States.Add(AppState.MovementDev, new MovementDevState(StateMachineContext));
|
||||
|
||||
AllowedStates |= AppState.MainMenu;
|
||||
AllowedStates |= AppState.Gameplay;
|
||||
AllowedStates |= AppState.MovementDev;
|
||||
}
|
||||
|
||||
protected override bool CheckTransitionAllowed(AppState nextState) => AllowedStates.HasFlag(nextState);
|
||||
|
||||
Reference in new issue
Block a user