Package com.prineside.tdi2.items
Class RandomBarrierItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.RandomBarrierItem
- 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 TypeMethodDescriptionboolean
cpy()
void
fillItemCreationForm
(ItemCreationOverlay overlay) generateIcon
(float size, boolean withShadow) getTitle()
getType()
boolean
openPack
(ProgressManager.InventoryStatistics inventoryStatistics) boolean
void
Methods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItems, affectedByLuckyWheelMultiplier, canBeSold, fillWithInfo, fromJson, getData, getData, getIconDrawable, getPriceInAcceleratorsForResearchReset, getSortingScore, isAffectedByDoubleGain, read, toJsonString, write
-
Field Details
-
quality
public float quality
-
-
Method Details
-
cpy
-
from
-
getType
-
getCategory
- Specified by:
getCategory
in classItem
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
getAnalyticName
- Overrides:
getAnalyticName
in classItem
-
canBeUnpacked
public boolean canBeUnpacked()- Overrides:
canBeUnpacked
in classItem
-
openPack
-
getTitle
-
getDescription
- Specified by:
getDescription
in classItem
-
getRarity
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in classItem
- Returns:
- true, если ItemStack.count учитывается
-
sameAs
-
toJson
-
generateIcon
- Specified by:
generateIcon
in classItem
-