source: 2012/27/DenisZ/TheDungeonGame/TheDungeonGame/TheDungeonGame/ItemEntity.cs @ 3624

Revision 3624, 531 bytes checked in by dezhidki, 9 years ago (diff)

Animations added!
Every mob has a texture!
The first (and the last because the lack of time) boss!
Main menu!
Death menu!
Boss room has own door!
Possibility to do damage to health!
Almost last release for now!
Some sound is added!

Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Jypeli;
6using Items;
7
8namespace Entity
9{
10   public class ItemEntity : PhysicsObject
11    {
12       public Item bindedItem;
13
14       public ItemEntity(Item item)
15           : base(40, 40, Shape.Rectangle)
16       {
17           Tag = "Item";
18           bindedItem = item;
19           Image = bindedItem.itemTexture;
20           CanRotate = false;
21           CollisionIgnoreGroup = CollisionGroups.Rocks;
22       }
23    }
24}
Note: See TracBrowser for help on using the repository browser.