示例#1
0
 public void AddTileView(TileView tileView)
 {
     _tileViewsMap.Add(tileView.State, tileView);
     _tileViewsToCoordinates.Add(tileView.State.coordinates, tileView);
 }
示例#2
0
 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);
 }