Package com.prineside.tdi2.items
Class BlueprintItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.BlueprintItem
- 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 TypeMethodDescriptionvoidaddSellItems(com.badlogic.gdx.utils.Array<ItemStack> toStacks) booleancom.badlogic.gdx.scenes.scene2d.ActorgenerateIcon(float size, boolean withShadow) com.badlogic.gdx.utils.IntArraygetData()doublegetPriceInAcceleratorsForResearchReset(int count) getTitle()getType()booleanbooleanbooleanvoidtoJson(com.badlogic.gdx.utils.Json json) Methods inherited from class com.prineside.tdi2.Item
addSellItems, affectedByLuckyWheelMultiplier, canBeUnpacked, cpy, fillItemCreationForm, fillWithInfo, fromJson, getData, getSortingScore, openPack, read, write
-
Method Details
-
isAffectedByDoubleGain
public boolean isAffectedByDoubleGain()- Overrides:
isAffectedByDoubleGainin classItem
-
getData
public com.badlogic.gdx.utils.IntArray getData() -
canBeSold
public boolean canBeSold() -
from
-
addSellItems
- Overrides:
addSellItemsin classItem
-
getPriceInAcceleratorsForResearchReset
public double getPriceInAcceleratorsForResearchReset(int count) - Overrides:
getPriceInAcceleratorsForResearchResetin classItem- Returns:
- relative value of the item. Score of 1.0 equals to 1 accelerator
-
getTitle
-
getDescription
- Specified by:
getDescriptionin classItem
-
getBlueprintType
-
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
-