mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 08:13:47 +00:00
Spellcard test map
This commit is contained in:
parent
c3bbc90b50
commit
dc8777c3d9
9 changed files with 163 additions and 43 deletions
|
|
@ -10,11 +10,11 @@ public partial class ActorSpawner : Node2D, IActivable
|
|||
|
||||
[Export] public bool WaitForActorDeath { get; private set; } = true;
|
||||
|
||||
public Actor SpawnedActor { get; private set; }
|
||||
public Node2D SpawnedActor { get; private set; }
|
||||
|
||||
public virtual void Spawn()
|
||||
{
|
||||
SpawnedActor = this.CreateSibling<Actor>(ActorPrefab);
|
||||
SpawnedActor = this.CreateSibling<Node2D>(ActorPrefab);
|
||||
}
|
||||
|
||||
public bool Activate(ActivationType activationType = ActivationType.Toggle)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue