Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        RoomImporter importer = new RoomImporter();

        Room room = importer.loadRoom("Assets/TestLevel/DemoLevel.oel");
        assembleRoom(room);
        Debug.Log ("Assembled?");
    }
Beispiel #2
0
    //Element currentElement;

    void Awake()
    {
        S = this;

        // put the tiles into a hashtable for quicker access when building the map
        foreach (tile t in tileKey)
        {
            map[t.character] = t;
        }
    }