public override EqCompiler.CFunction CreateInstance(ArrayList alValues) { CFloor oFloor = new CFloor(); oFloor.SetValue(alValues); return(oFloor); }
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); }
public void AddNewFloor(int _floorNum, CFloor _newFloor) { floors.Add(_floorNum, _newFloor); }