1package com.runehive.game.world.object;
3import com.runehive.game.world.Interactable;
4import com.runehive.game.world.entity.Entity;
5import com.runehive.game.world.position.Position;
6import com.runehive.util.generic.GenericAttributes;
Represents a character in the game world, i.e.
static final int DEFAULT_INSTANCE
Represents a single type of object.
Represents a single tile on the game world.
Holds generic attributes.
The enumerated type whose elements represent the directions for objects.
The enumerated type whose elements represent all of the object types.
An object implementing Interactable has uses.
Represents a game object.
int width()
Gets the width.
void register()
Registers the game object.
ObjectDirection getDirection()
Gets the rotation.
GameObjectDefinition getDefinition()
Gets the object definition.
boolean active()
Determines if this object is active on the world.
ObjectType getObjectType()
Gets the object type.
int length()
Gets the length.
void rotate(ObjectDirection direction)
Position getPosition()
Gets the regional location.
GenericAttributes getGenericAttributes()
Gets the generic attributes.
default int getInstancedHeight()
void unregister()
Unregisters the game object.
default int getId()
Gets the object id.