source: 2012/27/DenisZ/TheDungeonGame/TheDungeonGame/TheDungeonGame/LevelGenerator.cs @ 3477

Revision 3477, 766 bytes checked in by dezhidki, 8 years ago (diff)

Talletus.

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6
7namespace Rooms
8{
9    class LevelGenerator
10    {
11        private double width, height;
12        private int roomAmountHor, roomAmountVert;
13        private Game game;
14        private Room[,] rooms;
15
16        public LevelGenerator(Game game, Vector size, Vector roomamount)
17        {
18            this.game = game;
19            width = size.X;
20            height = size.Y;
21            roomAmountHor = (int)roomamount.X;
22            roomAmountVert = (int)roomamount.Y;
23
24            rooms = new Room[roomAmountHor, roomAmountVert];
25        }
26
27        public void generateRandomLevel(int minRooms, int maxRooms)
28        {
29        }
30    }
31}
Note: See TracBrowser for help on using the repository browser.