Package com.prineside.tdi2.items
Class TileItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.TileItem
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested 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 TypeMethodDescriptionvoid
addSellItems
(Array<ItemStack> toStacks) boolean
boolean
cpy()
void
fillItemCreationForm
(ItemCreationOverlay overlay) void
fillWithInfo
(Table table, float width) Наполнить таблицу дополнительной информацией о предмете (без описания)generateIcon
(float size, boolean withShadow) final ItemCategoryType
getData()
int
getSortingScore
(ItemSortingType sortingType) getTitle()
getType()
boolean
boolean
void
toString()
Methods inherited from class com.prineside.tdi2.Item
addSellItems, canBeUnpacked, fromJson, getData, getIconDrawable, getPriceInAcceleratorsForResearchReset, isAffectedByDoubleGain, openPack, read, toJsonString, write
-
Field Details
-
tile
-
-
Method Details
-
getData
-
getAnalyticName
- Overrides:
getAnalyticName
in classItem
-
affectedByLuckyWheelMultiplier
public boolean affectedByLuckyWheelMultiplier()- Overrides:
affectedByLuckyWheelMultiplier
in classItem
-
fillWithInfo
Description copied from class:Item
Наполнить таблицу дополнительной информацией о предмете (без описания)- Overrides:
fillWithInfo
in classItem
-
from
-
cpy
-
getCategory
- Specified by:
getCategory
in classItem
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
getType
-
canBeSold
public boolean canBeSold() -
getRarity
-
addSellItems
- Overrides:
addSellItems
in classItem
-
getSortingScore
- Overrides:
getSortingScore
in classItem
-
getTitle
-
getDescription
- Specified by:
getDescription
in classItem
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in classItem
- Returns:
- true, если ItemStack.count учитывается
-
sameAs
-
toJson
-
generateIcon
- Specified by:
generateIcon
in classItem
-
toString
-