Esempio n. 1
0
    public MapSquare InitializeFirstSquare(int squareNumber, Sprite image)
    {
        activeSquares.Add(mapSquares[squareNumber]);

        MapSquare firstSquare = mapSquares[squareNumber];

        // IUNNO
        firstSquare.InitializeSquare(image, FindObjectOfType <MapSquareImageHolder>().GetLocationImage(mapGrid.GetMapType()), true);
        firstSquare.SetPlayerStart();
        firstSquare.SetStartSquare();
        return(firstSquare);
    }