Package com.prineside.tdi2.items
Class TrophyItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.TrophyItem
- 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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncpy()
void
fillItemCreationForm
(ItemCreationOverlay overlay) com.badlogic.gdx.scenes.scene2d.Actor
generateIcon
(float size, boolean withShadow) com.badlogic.gdx.utils.IntArray
getData()
getTitle()
getType()
boolean
boolean
void
toJson
(com.badlogic.gdx.utils.Json json) Methods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItems, affectedByLuckyWheelMultiplier, canBeSold, canBeUnpacked, fillWithInfo, fromJson, getData, getIconDrawable, getPriceInAcceleratorsForResearchReset, getShadowShift, getSortingScore, isAffectedByDoubleGain, openPack, read, write
-
Field Details
-
trophyType
-
-
Method Details
-
from
-
getData
public com.badlogic.gdx.utils.IntArray getData() -
cpy
-
getType
-
getCategory
- Specified by:
getCategory
in classItem
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
getTitle
-
getDescription
- Specified by:
getDescription
in classItem
-
getRarity
-
getAnalyticName
- Overrides:
getAnalyticName
in classItem
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in 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:
generateIcon
in classItem
-