예제 #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?");
    }
예제 #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;
        }
    }