feat: turrents and explosions
This commit is contained in:
@@ -7,7 +7,12 @@ namespace GodotHostTest.Game.Level;
|
||||
[GlobalClass]
|
||||
public partial class LevelData : Resource, ILevel
|
||||
{
|
||||
[Export] public double SpawnDuration;
|
||||
[Export] public double TimeBetweenSpawns;
|
||||
|
||||
/// <inheritdoc />
|
||||
TimeSpan ILevel.TimeBetweenSpawns => TimeSpan.FromSeconds(TimeBetweenSpawns);
|
||||
|
||||
/// <inheritdoc />
|
||||
TimeSpan ILevel.SpawnDuration => TimeSpan.FromSeconds(SpawnDuration);
|
||||
}
|
||||
Reference in New Issue
Block a user