alter vatter

This commit is contained in:
2026-07-29 18:50:14 +02:00
parent 59a9516d99
commit 9824b30435
53 changed files with 1054 additions and 69 deletions

24
DaySchedule.cs Normal file
View File

@@ -0,0 +1,24 @@
using System.Linq;
using Godot;
[SceneTree]
public partial class DaySchedule : PanelContainer
{
[Export]
private Company _company;
[Export]
private int _hoursInDay = 6;
public override void _Ready()
{
TimeSlotContainer.GetChildren().ToList().ForEach(child => child.QueueFree());
for (var i = 0; i < _hoursInDay; i++)
{
var timeSlot = Instantiator.Instantiate<TimeSlot>();
TimeSlotContainer.AddChild(timeSlot);
}
}
}