Package com.prineside.tdi2.items
Class RandomTileItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.RandomTileItem
- All Implemented Interfaces:
 com.esotericsoftware.kryo.KryoSerializable
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.prineside.tdi2.Item
Item.D, Item.Factory<T extends Item>, Item.UsableItem - 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddSellItems(com.badlogic.gdx.utils.Array<ItemStack> toStacks) booleanbooleancpy()com.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean withShadow) getTitle()getType()booleancom.badlogic.gdx.utils.Array<ItemStack>openPack(ProgressManager.InventoryStatistics inventoryStatistics) booleanvoidtoJson(com.badlogic.gdx.utils.Json json) Methods inherited from class com.prineside.tdi2.Item
addSellItems, affectedByLuckyWheelMultiplier, fillItemCreationForm, fillWithInfo, fromJson, getData, getData, getPriceInAcceleratorsForResearchReset, getSortingScore, isAffectedByDoubleGain, read, write 
- 
Field Details
- 
quality
public float quality 
 - 
 - 
Method Details
- 
from
 - 
canBeSold
public boolean canBeSold() - 
addSellItems
- Overrides:
 addSellItemsin classItem
 - 
cpy
 - 
getType
 - 
getCategory
- Specified by:
 getCategoryin classItem
 - 
getSubcategory
- Specified by:
 getSubcategoryin classItem
 - 
canBeUnpacked
public boolean canBeUnpacked()- Overrides:
 canBeUnpackedin classItem
 - 
openPack
public com.badlogic.gdx.utils.Array<ItemStack> openPack(ProgressManager.InventoryStatistics inventoryStatistics)  - 
getTitle
 - 
getDescription
- Specified by:
 getDescriptionin classItem
 - 
getRarity
 - 
isCountable
public boolean isCountable()- Specified by:
 isCountablein classItem- Returns:
 - true, если ItemStack.count учитывается
 
 - 
sameAs
 - 
toJson
public void toJson(com.badlogic.gdx.utils.Json json)  - 
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean withShadow) - Specified by:
 generateIconin classItem
 
 -