nice nice nice

This commit is contained in:
2026-08-03 13:15:39 +02:00
parent 0bb8ce47c0
commit 737919f66f
25 changed files with 206 additions and 61 deletions

View File

@@ -1,13 +1,32 @@
using System.Linq;
using Godot;
using Godot.Collections;
using yourareanaiceo;
[GlobalClass]
public partial class MeetingResource : Resource
{
[Export]
public Array<MeetingActionResource> OnMeetingStartActions { get; set; } = [];
[Export]
public Array<MeetingActionResource> OnMeetingEndActions { get; set; } = [];
[Export]
public string Title { get; set; }
[Export]
public Color Color { get; set; }
public void StartMeeting(GameState gameState)
{
OnMeetingStartActions.ToList().ForEach(m => m.Execute(gameState));
}
public void EndMeeting(GameState gameState)
{
OnMeetingEndActions.ToList().ForEach(m => m.Execute(gameState));
}
}
public partial class DummyMeetingResource : MeetingResource