Package com.prineside.tdi2.items
Class BitDustItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.BitDustItem
- 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
-
Method Summary
Modifier and TypeMethodDescriptiongenerateIcon
(float size, boolean withShadow) double
getPriceInAcceleratorsForResearchReset
(int count) getTitle()
getType()
boolean
boolean
Methods inherited from class com.prineside.tdi2.Item
addSellItems, addSellItemsMultiplied, affectedByLuckyWheelMultiplier, canBeSold, canBeUnpacked, cpy, fillItemCreationForm, fillWithInfo, from, fromJson, getData, getDataOfType, getSortingScore, openPack, read, sameAs, toJson, toJsonString, write
-
Method Details
-
isAffectedByDoubleGain
public boolean isAffectedByDoubleGain()- Overrides:
isAffectedByDoubleGain
in classItem
-
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 if ItemStack.count is being accounted for
-
getPriceInAcceleratorsForResearchReset
public double getPriceInAcceleratorsForResearchReset(int count) - Overrides:
getPriceInAcceleratorsForResearchReset
in classItem
- Returns:
- relative value of the item. Score of 1.0 equals to 1 accelerator
-
getIconDrawable
- Overrides:
getIconDrawable
in classItem
-
generateIcon
- Specified by:
generateIcon
in classItem
-