コード例 #1
0
 protected void Start()
 {
     // UI Events
     EnergyPoolManager = new EnergyPoolManager(_energyFactory);
     _buttonController.NodeSwipeOccurred += OnNodeSwipeOccurred;
     _buttonController.SwipeOccurred     += OnSwipeOccurred;
 }
コード例 #2
0
 protected void ResetState()
 {
     GameTime            = 0;
     BoardTurnCount      = 0;
     EnergyTransferCount = 0;
     Time.timeScale      = 1.0f;
     EnergyPoolManager.HideAllEnergy();
     DestroyBoard();
 }