mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
39 lines
No EOL
904 B
C#
39 lines
No EOL
904 B
C#
using Cirno.Scripts.Components.FSM;
|
|
using Cirno.Scripts.Components.FSM._3DPlayer;
|
|
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.Actors._3D;
|
|
|
|
public partial class PlayerAnimationModule3D : ModuleBase<PlayerState, CharacterBody3D>
|
|
{
|
|
|
|
[Export] public PlayerAnimationProvider3D AnimationProvider { get; private set; }
|
|
|
|
[Export] public IsoPlayerStorageModule Storage { get; private set; }
|
|
|
|
public override void EnterState(PlayerState state)
|
|
{
|
|
AnimationProvider.ShowSprite();
|
|
}
|
|
|
|
public override void ExitState(PlayerState state)
|
|
{
|
|
|
|
AnimationProvider.SetAnimationSpeed(Vector2.Zero);
|
|
}
|
|
|
|
public override void Init(IStateMachine<PlayerState, CharacterBody3D> machine)
|
|
{
|
|
|
|
}
|
|
|
|
public override void Process(double delta)
|
|
{
|
|
|
|
}
|
|
|
|
public override void PhysicsProcess(double delta)
|
|
{
|
|
|
|
}
|
|
} |