feat: more plugin work and intra-scope communication

This commit is contained in:
redglow
2026-07-18 10:56:54 +02:00
parent 7c16dddbd0
commit ce58a3a2c2
22 changed files with 246 additions and 56 deletions
+16
View File
@@ -0,0 +1,16 @@
using Godot;
using GodotHostTest.Interfaces;
namespace GodotHostTest.Game;
[GlobalClass]
public partial class LevelsData : Resource, ILevelDataProvider
{
[Export] private LevelData[] _levelDataEntries = [];
public ILevel GetLevelData(int levelNumber)
{
var entry = _levelDataEntries[levelNumber];
return entry;
}
}