Ejemplo n.º 1
0
 public PrizeBlock(string p_items, string p_mapName)
 {
     this.mapName = p_mapName;
     this.itemDropGeneratingString = p_items;
     this.prize = ItemDropProfile.FromString(p_items);
     if (this.prize == null)
     {
         this.empty = true;
     }
     base.texture = new GameTexture("cursor.bmp", new Size(0x10, 0x10), TextureDisposePolicy.NeverDispose);
     base.type = ObjectType.PrizeBlock;
 }
Ejemplo n.º 2
0
 public void AddItemDrop(ItemDropProfile idp)
 {
     this.itemDrops.Add(idp);
 }