Прогрессия 2
This commit is contained in:
parent
b793b79d39
commit
f37e2b5c4f
10 changed files with 67 additions and 18 deletions
|
@ -3,6 +3,9 @@ using System;
|
|||
|
||||
public partial class Day1Cutscene : Node2D
|
||||
{
|
||||
[Signal]
|
||||
public delegate void FinishedEventHandler();
|
||||
|
||||
private Player _player;
|
||||
|
||||
private AnimatedSprite2D _sprite;
|
||||
|
@ -55,6 +58,7 @@ public partial class Day1Cutscene : Node2D
|
|||
public void Final()
|
||||
{
|
||||
_player.CurrentState = Player.State.Normal;
|
||||
EmitSignal(SignalName.Finished);
|
||||
QueueFree();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue