Package com.prineside.tdi2.items
Class BitDustItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.BitDustItem
- 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 -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean withShadow) doublegetPriceInAcceleratorsForResearchReset(int count) getTitle()getType()booleanbooleanMethods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItems, affectedByLuckyWheelMultiplier, canBeSold, canBeUnpacked, cpy, fillItemCreationForm, fillWithInfo, from, fromJson, getData, getData, getSortingScore, openPack, read, sameAs, toJson, write
-
Method Details
-
isAffectedByDoubleGain
public boolean isAffectedByDoubleGain()- Overrides:
isAffectedByDoubleGainin classItem
-
getType
-
getCategory
- Specified by:
getCategoryin classItem
-
getSubcategory
- Specified by:
getSubcategoryin classItem
-
getTitle
-
getDescription
- Specified by:
getDescriptionin classItem
-
getRarity
-
isCountable
public boolean isCountable()- Specified by:
isCountablein classItem- Returns:
- true, если ItemStack.count учитывается
-
getPriceInAcceleratorsForResearchReset
public double getPriceInAcceleratorsForResearchReset(int count) - Overrides:
getPriceInAcceleratorsForResearchResetin classItem- Returns:
- relative value of the item. Score of 1.0 equals to 1 accelerator
-
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean withShadow) - Specified by:
generateIconin classItem
-