source: 2012/27/DenisZ/TheDungeonGame/TheDungeonGame/TheDungeonGame/RoomTemplates.cs @ 3549

Revision 3549, 647 bytes checked in by dezhidki, 10 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6using MathHelper;
7using Entity;
8
9namespace Rooms
10{
11    class TestRoom : Room
12    {
13        public TestRoom(TheDungeonGame game, Vector pos, Vector size, double thickness)
14            : base(game, pos, size, thickness)
15        {
16        }
17
18        public override void initRoom()
19        {
20            createBorders();
21            addDoors();
22            roomObjects.Add(createBackground());
23            TestEntity entity = new TestEntity(Game, Vector.Zero, new Vector(40, 40), Shape.Rectangle);
24        }
25    }
26   
27}
Note: See TracBrowser for help on using the repository browser.