Beispiel #1
0
 private void Awake()
 {
     _playerBuffer   = new Queue <ICommand>();
     _enemyBuffer    = new Queue <ICommand>();
     _board          = GetComponent <MapBoard>();
     _proxyBoard     = new ProxyBoard(_board.mapSize);
     _spawnerManager = GetComponent <SpawnerManager>();
 }
Beispiel #2
0
 public void HighlightFromProxy(ProxyBoard proxy)
 {
     for (int i = 0; i < proxy.Length; i++)
     {
         for (int j = 0; j < proxy.Length; j++)
         {
             PlatformNode b = Platforms[i][j];
             b.Highlight(proxy[i][j]);
         }
     }
 }