mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 02:45:53 +00:00
Isometric implementation
This commit is contained in:
parent
1434f7aa6d
commit
ed656f00bb
92 changed files with 2834 additions and 223 deletions
37
Scripts/Components/FSM/3DPlayer/Init.cs
Normal file
37
Scripts/Components/FSM/3DPlayer/Init.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
using System.Threading.Tasks;
|
||||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Components.FSM._3DPlayer;
|
||||
|
||||
public partial class Init : BaseState<PlayerState, CharacterBody3D>
|
||||
{
|
||||
public override PlayerState StateId => PlayerState.Init;
|
||||
|
||||
public override void EnterState()
|
||||
{
|
||||
// _storageModule.FacingDirection = ((PlayerStateMachine)StateMachine).StartingDirection;
|
||||
// _animationProvider.PlayUnteleportAnimation();
|
||||
_ = AutoSwitchToStart();
|
||||
}
|
||||
|
||||
public override void ExitState()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void PhysicsProcessState(double delta)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void ProcessState(double delta)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private async Task AutoSwitchToStart()
|
||||
{
|
||||
await Task.Delay(500);
|
||||
//StateMachine.SetState(PlayerState.Active);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue