Beispiel #1
0
    public override EqCompiler.CFunction CreateInstance(ArrayList alValues)
    {
        CFloor oFloor = new CFloor();

        oFloor.SetValue(alValues);

        return(oFloor);
    }
Beispiel #2
0
    public void CreateNewFloor()
    {
        CFloor temp = new CFloor();

        temp.Name = "Floor_" + currFloor;
        temp.InitNewLevel(columns, rows, rooms, corridors, roomWidth, roomHeight, corridorLength);

        Debug.Log("Floor Created");

        CDungeon.Instance.AddNewFloor(currFloor, temp);
    }
Beispiel #3
0
 public void AddNewFloor(int _floorNum, CFloor _newFloor)
 {
     floors.Add(_floorNum, _newFloor);
 }