Package com.prineside.tdi2.items
Class BlueprintItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.BlueprintItem
- 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 TypeMethodDescriptionvoid
addSellItems
(Array<ItemStack> toStacks) boolean
generateIcon
(float size, boolean withShadow) getData()
double
getPriceInAcceleratorsForResearchReset
(int count) getTitle()
getType()
boolean
boolean
boolean
void
toString()
Methods inherited from class com.prineside.tdi2.Item
addSellItems, affectedByLuckyWheelMultiplier, canBeUnpacked, cpy, fillItemCreationForm, fillWithInfo, fromJson, getData, getSortingScore, openPack, read, toJsonString, write
-
Method Details
-
isAffectedByDoubleGain
public boolean isAffectedByDoubleGain()- Overrides:
isAffectedByDoubleGain
in classItem
-
getData
-
canBeSold
public boolean canBeSold() -
from
-
addSellItems
- Overrides:
addSellItems
in classItem
-
getPriceInAcceleratorsForResearchReset
public double getPriceInAcceleratorsForResearchReset(int count) - Overrides:
getPriceInAcceleratorsForResearchReset
in classItem
- Returns:
- relative value of the item. Score of 1.0 equals to 1 accelerator
-
getTitle
-
getDescription
- Specified by:
getDescription
in classItem
-
getBlueprintType
-
getRarity
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in classItem
- Returns:
- true, если ItemStack.count учитывается
-
toJson
-
toString
-
getType
-
getCategory
- Specified by:
getCategory
in classItem
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
getAnalyticName
- Overrides:
getAnalyticName
in classItem
-
getIconDrawable
- Overrides:
getIconDrawable
in classItem
-
generateIcon
- Specified by:
generateIcon
in classItem
-
sameAs
-