24 lines
596 B
C#
24 lines
596 B
C#
using Services.Interfaces;
|
|
using UnityEngine;
|
|
using VContainer.Unity;
|
|
using Views;
|
|
|
|
namespace Services
|
|
{
|
|
public class LevelEntryPoint : IStartable
|
|
{
|
|
private readonly IObjectPool<GemView> gemViewPool;
|
|
private readonly IGameBoardService gameBoardService;
|
|
|
|
public LevelEntryPoint(IObjectPool<GemView> gemViewPool, IGameBoardService gameBoardService)
|
|
{
|
|
this.gemViewPool = gemViewPool;
|
|
this.gameBoardService = gameBoardService;
|
|
}
|
|
|
|
public void Start()
|
|
{
|
|
this.gameBoardService.Setup();
|
|
}
|
|
}
|
|
} |