//------------- public void HideWall(wallOrientation orientation) { int index = (int)orientation; if (walls[index] != null) { Destroy(walls[index]); this.walls[index] = null; this.wallsActive[index] = false; } }
public bool IsWallActive(wallOrientation orientation) { int index = (int)orientation; return(this.wallsActive[index]); }