You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
375 B
17 lines
375 B
using Godot;
|
|
using System;
|
|
using Babushka.scripts.CSharp.Common.Fight;
|
|
|
|
public partial class NightStarter : Node
|
|
{
|
|
[Export] private int _sceneIndexToLoad;
|
|
|
|
[Signal] public delegate void LoadSceneEventHandler(int index);
|
|
|
|
public void StartNight()
|
|
{
|
|
FightWorld.Instance.ResetFightWorld();
|
|
EmitSignalLoadScene(_sceneIndexToLoad);
|
|
}
|
|
}
|