filesystem rework
This commit is contained in:
parent
64323290cc
commit
2905db3dce
174 changed files with 93 additions and 353 deletions
14
scripts/gui/LevelButton.cs
Normal file
14
scripts/gui/LevelButton.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Godot;
|
||||
using System;
|
||||
|
||||
namespace Newlon;
|
||||
|
||||
//
|
||||
// Button that contains level to load
|
||||
//
|
||||
|
||||
public partial class LevelButton : TextureButton
|
||||
{
|
||||
[Export] private Script _levelScript;
|
||||
[Export] private PackedScene _levelTileset;
|
||||
}
|
||||
1
scripts/gui/LevelButton.cs.uid
Normal file
1
scripts/gui/LevelButton.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cn3q18jh2rej7
|
||||
18
scripts/gui/LevelGUIElements.cs
Normal file
18
scripts/gui/LevelGUIElements.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using Godot;
|
||||
using Newlon.Components.GUI;
|
||||
|
||||
namespace Newlon.Components;
|
||||
|
||||
public partial class LevelGUIElements : Control
|
||||
{
|
||||
public static LevelGUIElements Instance;
|
||||
|
||||
[Export]
|
||||
public HBoxContainer SeedpacketsHotbar;
|
||||
[Export]
|
||||
public SunCounter SunCounter;
|
||||
public override void _Ready()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
}
|
||||
1
scripts/gui/LevelGUIElements.cs.uid
Normal file
1
scripts/gui/LevelGUIElements.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://cwa1eydeiy3y4
|
||||
Loading…
Add table
Add a link
Reference in a new issue