Package com.prineside.tdi2.items
Class GateItem
java.lang.Object
com.prineside.tdi2.Item
com.prineside.tdi2.items.GateItem
- All Implemented Interfaces:
com.esotericsoftware.kryo.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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSellItems
(com.badlogic.gdx.utils.Array<ItemStack> toStacks) boolean
cpy()
com.badlogic.gdx.scenes.scene2d.Actor
generateIcon
(float size, boolean withShadow) int
getSortingScore
(ItemSortingType sortingType) getTitle()
getType()
boolean
boolean
void
toJson
(com.badlogic.gdx.utils.Json json) toString()
Methods inherited from class com.prineside.tdi2.Item
addSellItems, affectedByLuckyWheelMultiplier, canBeUnpacked, fillItemCreationForm, fillWithInfo, fromJson, getData, getData, getPriceInAcceleratorsForResearchReset, isAffectedByDoubleGain, openPack, read, write
-
Field Details
-
gate
-
-
Method Details
-
from
-
cpy
-
getSubcategory
- Specified by:
getSubcategory
in classItem
-
getType
-
getCategory
- Specified by:
getCategory
in classItem
-
getTitle
-
getDescription
- Specified by:
getDescription
in classItem
-
getSortingScore
- Overrides:
getSortingScore
in classItem
-
canBeSold
public boolean canBeSold() -
addSellItems
- Overrides:
addSellItems
in classItem
-
getRarity
-
isCountable
public boolean isCountable()- Specified by:
isCountable
in classItem
- Returns:
- true, если ItemStack.count учитывается
-
sameAs
-
toJson
public void toJson(com.badlogic.gdx.utils.Json json) -
generateIcon
public com.badlogic.gdx.scenes.scene2d.Actor generateIcon(float size, boolean withShadow) - Specified by:
generateIcon
in classItem
-
toString
-