mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 08:15:55 +00:00
Directional spider bomb
This commit is contained in:
parent
029128c8b8
commit
36e77adcd7
8 changed files with 44 additions and 6 deletions
|
|
@ -8,7 +8,11 @@ public partial class Active : PlayerStateBase
|
|||
{
|
||||
public override PlayerState StateId => PlayerState.Active;
|
||||
private Vector2 _movementDirection { get; set; }
|
||||
public Vector2 FacingDirection { get; private set; } = Vector2.Down;
|
||||
public Vector2 FacingDirection
|
||||
{
|
||||
get => _storageModule.FacingDirection;
|
||||
private set => _storageModule.FacingDirection = value;
|
||||
}
|
||||
|
||||
[Export]
|
||||
public int Speed { get; set; } = 45;
|
||||
|
|
@ -32,6 +36,8 @@ public partial class Active : PlayerStateBase
|
|||
[Export] private ActivationProvider _activationProvider;
|
||||
|
||||
[Export] private InteractionController _interactionController;
|
||||
|
||||
[Export] private PlayerStorageModule _storageModule;
|
||||
|
||||
private bool _isStrafing;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue