コード例 #1
0
ファイル: GameManager.cs プロジェクト: bullettrang/Santorini
    /***********************************************************************************
     * Function Name: BuildBlock
     * Description: Helper function to build a block on a space
     **********************************************************************************/
    public void BuildBlock()
    {
        Space selectedSpace = gameUI.GetComponent <TileSelector>().GetSelectedSpace();

        // Calls helper method in the gameUI class to build the block
        gameUI.BuildBlock(selectedSpace);

        selectedSpace.IncrementFloorLevel();
    }