Implement Bombs

This commit is contained in:
2025-12-15 02:34:59 +08:00
parent 95b43ed772
commit abff76e4ab
36 changed files with 512 additions and 753 deletions

View File

@@ -21,6 +21,8 @@ namespace Scopes
builder.RegisterInstance(this.gameVariables);
builder.RegisterInstance(this.gemsHolder);
builder.RegisterComponentInHierarchy<ScoreView>();
builder.Register<IGameBoard>(c =>
new GameBoard(this.gameVariables.width, this.gameVariables.height),
Lifetime.Scoped);
@@ -32,8 +34,9 @@ namespace Scopes
new ObjectPoolService(this.gameVariables.gemsPrefabs, this.gemsHolder),
Lifetime.Scoped);
builder.Register<ScorePresenter>(Lifetime.Scoped);
builder.Register<IGameBoardService, GameBoardService>(Lifetime.Scoped).AsImplementedInterfaces();
builder.RegisterEntryPoint<LevelEntryPoint>();
}
}