private void Awake() { _playerBuffer = new Queue <ICommand>(); _enemyBuffer = new Queue <ICommand>(); _board = GetComponent <MapBoard>(); _proxyBoard = new ProxyBoard(_board.mapSize); _spawnerManager = GetComponent <SpawnerManager>(); }
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]); } } }