Package com.prineside.tdi2.items
Class RandomTeleportItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.RandomTeleportItem
- All Implemented Interfaces:
com.esotericsoftware.kryo.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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.badlogic.gdx.scenes.scene2d.Actor
generateIcon
(float size, boolean withShadow) getTitle()
getType()
boolean
com.badlogic.gdx.utils.Array<ItemStack>
openPack
(ProgressManager.InventoryStatistics inventoryStatistics) Methods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItems, affectedByLuckyWheelMultiplier, canBeSold, cpy, fillItemCreationForm, fillWithInfo, from, fromJson, getData, getData, getPriceInAcceleratorsForResearchReset, getSortingScore, isAffectedByDoubleGain, read, sameAs, toJson, write
-
Method Details
-
getType
-
getCategory
- Specified by:
getCategory
in classItem
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
canBeUnpacked
public boolean canBeUnpacked()- Overrides:
canBeUnpacked
in classItem
-
openPack
public com.badlogic.gdx.utils.Array<ItemStack> openPack(ProgressManager.InventoryStatistics inventoryStatistics) -
getTitle
-
getDescription
- Specified by:
getDescription
in classItem
-
getRarity
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in classItem
- Returns:
- true, если ItemStack.count учитывается
-
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean withShadow) - Specified by:
generateIcon
in classItem
-