Package com.prineside.tdi2.items
Class GameValueGlobalItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.GameValueGlobalItem
- 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 TypeMethodDescriptioncpy()voidfillItemCreationForm(ItemCreationOverlay overlay) com.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean withShadow) com.badlogic.gdx.utils.IntArraygetData()getTitle()getType()booleanbooleanvoidtoJson(com.badlogic.gdx.utils.Json json) Methods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItems, affectedByLuckyWheelMultiplier, canBeSold, canBeUnpacked, fillWithInfo, fromJson, getData, getPriceInAcceleratorsForResearchReset, getSortingScore, isAffectedByDoubleGain, openPack, read, write
-
Field Details
-
gameValueType
-
delta
public double delta
-
-
Method Details
-
from
-
getData
public com.badlogic.gdx.utils.IntArray getData() -
cpy
-
getTitle
-
getDescription
- Specified by:
getDescriptionin classItem
-
getRarity
-
isCountable
public boolean isCountable()- Specified by:
isCountablein classItem- Returns:
- true, если ItemStack.count учитывается
-
toJson
public void toJson(com.badlogic.gdx.utils.Json json) -
getType
-
getCategory
- Specified by:
getCategoryin classItem
-
getSubcategory
- Specified by:
getSubcategoryin classItem
-
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean withShadow) - Specified by:
generateIconin classItem
-
sameAs
-