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

Revision 3477, 594 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;
6using MathHelper;
7
8namespace Rooms
9{
10    class TestRoom : Room
11    {
12
13        public TestRoom(Game game, Vector pos, Vector size, double thickness)
14            : base(game, pos, size, thickness)
15        {
16            initRoom();
17        }
18
19        public override void initRoom()
20        {
21            createBorders();
22            roomObjects.Add(createBackground());
23            addBlock(new PhysicsObject(blockWidth, blockHeight), 0, 0);
24        }
25    }
26
27   
28}
Note: See TracBrowser for help on using the repository browser.