예제 #1
0
 public PrepareLevelHandler(
     [NotNull] IScreenController screenController,
     [NotNull] IRoundController roundController)
 {
     _screenController = screenController ?? throw new ArgumentNullException(nameof(screenController));
     _roundController  = roundController ?? throw new ArgumentNullException(nameof(roundController));
 }
예제 #2
0
 void Awake()
 {
     roundController = FindObjectOfType <RoundController>();
     gameManager     = FindObjectOfType <GameManager.GameManager>();
 }
 void Awake()
 {
     gameView        = FindObjectOfType <UIViewGame>();
     settingsView    = FindObjectOfType <UIViewSettings>();
     roundController = FindObjectOfType <RoundController>();
 }
예제 #4
0
 public RoundManager(IRoundController round)
 {
     this.Round = round;
 }