Item
open class Item(component: Component?, inventoryIndex: Int, id: Int, stack: Int, type: ItemType) : GenericItem, Identifiable, Nameable, Stackable, Actionable, Nillable<Item?> , Emittable<ItemAction>
Content copied to clipboard
Item
Constructors
Types
Functions
bounding Model
Link copied to clipboard
Gets the current bounding model
Sets the bounding model
fun boundingModel(expectedModel: BoundingModel?, boundingModel: BoundingModel?)
Content copied to clipboard
Compares and sets the bounding model
bounding Rect
Link copied to clipboard
bounds
Link copied to clipboard
Sets the boundaries of this entity utilizing an array.
calculate Screen Position
Link copied to clipboard
center Point
Link copied to clipboard
{@inheritDoc}
create Action
Link copied to clipboard
open override fun createAction(action: String?, async: Boolean): ItemAction
Content copied to clipboard
do Set Bounds
Link copied to clipboard
ground Actions
Link copied to clipboard
An array of the possible actions if the item were on the ground.
inventory Actions
Link copied to clipboard
An array of the possible actions if the item were in the inventory.
inventory Index
Link copied to clipboard
in Viewport
Link copied to clipboard
{@inheritDoc}
Returns true
if the object is currently rendered in the viewport.
Properties
boundingModel
Link copied to clipboard
cachedConfig
Link copied to clipboard
config
Link copied to clipboard
inventoryIndex
Link copied to clipboard