mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 08:45:55 +00:00
Actor defeat script
This commit is contained in:
parent
16b7d936c9
commit
d49f5e2a45
4 changed files with 63 additions and 3 deletions
|
|
@ -9,6 +9,11 @@ public partial class Actor : CharacterBody2D
|
|||
[Export]
|
||||
public float MovementSpeed { get; private set; }
|
||||
|
||||
[ExportCategory("Defeat Script")]
|
||||
[Export] public Node2D DefeatScript { get; set; }
|
||||
|
||||
[Export] public ActivationType ActivationType { get; private set; } = ActivationType.Toggle;
|
||||
|
||||
public Vector2 MovementDirection { get; set; }
|
||||
public Vector2 FacingDirection { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue