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

        oFloor.SetValue(alValues);

        return(oFloor);
    }
示例#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);
    }
示例#3
0
 public void AddNewFloor(int _floorNum, CFloor _newFloor)
 {
     floors.Add(_floorNum, _newFloor);
 }