예제 #1
0
 public ItemBlock(ItemID id, String name, Texture tex, byte b) : base(id, name, tex, Item.ItemType.BLOCK)
 {
     Block = b;
     ItemStorage.RegisterBlockItem(b, this);
 }
예제 #2
0
 public ItemPlant(ItemID id, String name, Texture tex, PlantType plantType, byte blockFrom, Item itemTo) : base(id, name, tex, ItemType.PROCESSED)
 {
     PType = plantType;
     ItemStorage.RegisterBlockItem(blockFrom, itemTo ?? this);
 }