14 lines
393 B
C#
14 lines
393 B
C#
using Godot;
|
|
using Newlon.Components.GUI.Seedpackets;
|
|
using Newlon.Components.Level;
|
|
|
|
namespace Newlon.Components.GUI;
|
|
|
|
public partial class LevelRunButton : Button
|
|
{
|
|
public override void _Pressed()
|
|
{
|
|
RuntimeLevelData.Instance.SetLevelState(RuntimeLevelData.LevelStates.Pregame);
|
|
LevelGUIElements.Instance.SeedpacketsHotbar.GetChild<Seedpacket>(0).GrabFocus();
|
|
}
|
|
}
|