Package com.prineside.tdi2.items
Class TileItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.TileItem
- 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()voidfillItemCreationForm(ItemCreationOverlay overlay) voidfillWithInfo(com.badlogic.gdx.scenes.scene2d.ui.Table table, float width) Наполнить таблицу дополнительной информацией о предмете (без описания)com.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean withShadow) final ItemCategoryTypecom.badlogic.gdx.utils.IntArraygetData()intgetSortingScore(ItemSortingType sortingType) getTitle()getType()booleanbooleanvoidtoJson(com.badlogic.gdx.utils.Json json) toString()Methods inherited from class com.prineside.tdi2.Item
addSellItems, canBeUnpacked, fromJson, getData, getPriceInAcceleratorsForResearchReset, isAffectedByDoubleGain, openPack, read, write
-
Field Details
-
tile
-
-
Method Details
-
getData
public com.badlogic.gdx.utils.IntArray getData() -
affectedByLuckyWheelMultiplier
public boolean affectedByLuckyWheelMultiplier()- Overrides:
affectedByLuckyWheelMultiplierin classItem
-
fillWithInfo
public void fillWithInfo(com.badlogic.gdx.scenes.scene2d.ui.Table table, float width) Description copied from class:ItemНаполнить таблицу дополнительной информацией о предмете (без описания)- Overrides:
fillWithInfoin classItem
-
from
-
cpy
-
getCategory
- Specified by:
getCategoryin classItem
-
getSubcategory
- Specified by:
getSubcategoryin classItem
-
getType
-
canBeSold
public boolean canBeSold() -
getRarity
-
addSellItems
- Overrides:
addSellItemsin classItem
-
getSortingScore
- Overrides:
getSortingScorein classItem
-
getTitle
-
getDescription
- Specified by:
getDescriptionin classItem
-
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
-
toString
-