feat: more plugin work and intra-scope communication
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Godot;
|
||||
using GodotHostTest.Interfaces;
|
||||
|
||||
namespace GodotHostTest.Game;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class LevelData : Resource, ILevel
|
||||
{
|
||||
[Export] public double TimeBetweenSpawns;
|
||||
|
||||
TimeSpan ILevel.TimeBetweenSpawns => TimeSpan.FromSeconds(TimeBetweenSpawns);
|
||||
}
|
||||
Reference in New Issue
Block a user