18 lines
570 B
C#
18 lines
570 B
C#
using GodotHostTest.AetherBind;
|
|
using GodotHostTest.Interfaces;
|
|
using OwofGames.GodotLume;
|
|
|
|
namespace GodotHostTest.Game.Level;
|
|
|
|
public static class LevelServices
|
|
{
|
|
public static void AddLevelServices(this Builder builder)
|
|
{
|
|
builder
|
|
// value providers to send level data from root to level scope
|
|
.AddValueProvider<ILevel, RootScope, LevelScope>()
|
|
// value providers for level scope setup
|
|
.AddValueProvider<ITargetCollector, LevelScope>()
|
|
.AddValueProvider<ITargetSpawner, LevelScope>();
|
|
}
|
|
} |