mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
Now boss FSM Actor movement
This commit is contained in:
parent
4aa7a8322c
commit
c37278075d
19 changed files with 215 additions and 28 deletions
|
|
@ -23,6 +23,8 @@ public partial class Boss : Enemy, IActivable, IScriptHost
|
|||
|
||||
private Vector2 _homePosition;
|
||||
public Vector2 HomePosition => _homePosition;
|
||||
public CharacterBody2D Body => this;
|
||||
public Node2D ParentObject => this;
|
||||
private BossPhase CurrentPhase => BossScript.Phases[currentPhaseIndex];
|
||||
|
||||
private Marker2D _cameraMarker;
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ namespace Cirno.Scripts.Actors;
|
|||
|
||||
public partial class ScriptableBulletsEmitter : Node2D, IActivable, IScriptHost
|
||||
{
|
||||
public Node2D ParentObject => this;
|
||||
|
||||
[Export]
|
||||
public BulletScript Script { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue