예제 #1
0
    void showValues(RoomClass room, Text theText)
    {
        theText.text = "status: " + room.status.ToString() + '\n' +
                                                "type: " + room.type.ToString() + '\n' +
                                                "floor: " + room.floor.ToString() + '\n' +
                                                "Numbre of adj rooms: " + room.adjacentRooms().ToString() + '\n' + '\n' +

                                                "lockNorth: " + room.lockNorth.ToString() + '\n' +
                                                "lockSouth: " + room.lockSouth.ToString() + '\n' +
                                                "lockEast: " + room.lockEast.ToString() + '\n' +
                                                "lockWest: " + room.lockWest.ToString() + '\n' + '\n' +

                                                "frameNorth: " + room.frameNorth.ToString() + '\n' +
                                                "frameSouth: " + room.frameSouth.ToString() + '\n' +
                                                "frameEast: " + room.frameEast.ToString() + '\n' +
                                                "frameWest: " + room.frameWest.ToString() + '\n' + '\n' +

                                                "adjacentNorth: " + room.adjacentNorth.ToString() + '\n' +
                                                "adjacentSouth: " + room.adjacentSouth.ToString() + '\n' +
                                                "adjacentEast: " + room.adjacentEast.ToString() + '\n' +
                                                "adjacentWest: " + room.adjacentWest.ToString() + '\n';
    }