refactor party

This commit is contained in:
2026-08-12 13:31:11 +02:00
parent 81d7a213cd
commit 51da5c97eb
29 changed files with 274 additions and 67 deletions

17
Main.cs Normal file
View File

@@ -0,0 +1,17 @@
using Godot;
namespace Game;
[SceneTree]
public partial class Main : Node2D
{
public GameState GameState { get; set; } = new();
public override void _Ready()
{
ExecuteButton.Pressed += () => DaySchedule.StartDay();
EventBus.CompanyChanged?.Invoke(GameState.Company.ToCompanyStats());
EventBus.CeoChanged?.Invoke(GameState.Ceo.ToCeoStats());
}
}