public void AddTileView(TileView tileView) { _tileViewsMap.Add(tileView.State, tileView); _tileViewsToCoordinates.Add(tileView.State.coordinates, tileView); }
public void SetTileViewPosition(State.TileState tile, TileView tileState) { tileState.transform.position = new Vector3(tile.coordinates.x * _distanceBetweenPivots, tileState.transform.position.y, tile.coordinates.y * _distanceBetweenPivots); }