Implement Bombs
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user