Add Audio

This commit is contained in:
2025-12-17 01:46:24 +08:00
parent 3786863b00
commit 9f2ef833b2
12 changed files with 116 additions and 2 deletions

View File

@@ -35,6 +35,8 @@ namespace Scopes
builder.Register<IBombService, BombService>(Lifetime.Scoped);
builder.Register<AudioPresenter>(Lifetime.Scoped);
builder.Register<ScorePresenter>(Lifetime.Scoped);
builder.Register<IGameBoardService, GameBoardService>(Lifetime.Scoped).AsImplementedInterfaces();

View File

@@ -9,6 +9,9 @@ namespace Scopes {
{
builder.RegisterComponentInHierarchy<InputService>()
.As<IInputService>();
builder.Register<IAudioService, AudioService>(Lifetime.Scoped)
.AsImplementedInterfaces();
}
}
}