RuneHive-Tarnish
Neural OSRS Enhancement Framework
|
Public Member Functions | |
Position | getPosition () |
int | width () |
int | length () |
int | getX () |
int | getY () |
int | getHeight () |
boolean | isValid () |
abstract void | register () |
abstract void | unregister () |
abstract void | addToRegion (Region region) |
abstract void | removeFromRegion (Region region) |
abstract String | getName () |
abstract EntityType | getType () |
final boolean | isStaticObject () |
final boolean | isCustomObject () |
Protected Member Functions | |
Entity | destroy () |
Additional Inherited Members | |
Static Public Member Functions inherited from com.osroyale.game.world.Interactable | |
static Interactable | create (Position position) |
static Interactable | create (Position position, int width, int length) |
Represents a character in the game world, i.e. a Player
or an NPC
.
Definition at line 50 of file Entity.java.
|
abstract |
Adds this entity to the specified region.
region | The region. |
Reimplemented in com.osroyale.content.combat.cannon.Cannon, com.osroyale.game.world.entity.mob.npc.Npc, com.osroyale.game.world.entity.mob.player.Player, com.osroyale.game.world.items.ground.GroundItem, and com.osroyale.game.world.object.CustomGameObject.
|
inlineprotected |
|
inline |
getPosition()
Implements com.osroyale.game.world.Interactable.
Definition at line 119 of file Entity.java.
|
abstract |
Gets the name of this entity.
Reimplemented in com.osroyale.content.combat.cannon.Cannon, com.osroyale.game.world.entity.mob.npc.Npc, com.osroyale.game.world.entity.mob.player.Player, com.osroyale.game.world.items.ground.GroundItem, and com.osroyale.game.world.object.CustomGameObject.
|
inline |
Implements com.osroyale.game.world.Interactable.
Reimplemented in com.osroyale.content.combat.cannon.Cannon.
Definition at line 77 of file Entity.java.
|
abstract |
Gets the EntityType
.
EntityType
. Reimplemented in com.osroyale.content.combat.cannon.Cannon, com.osroyale.game.world.entity.mob.npc.Npc, com.osroyale.game.world.entity.mob.player.Player, com.osroyale.game.world.items.ground.GroundItem, and com.osroyale.game.world.object.CustomGameObject.
|
inline |
getPosition()
Implements com.osroyale.game.world.Interactable.
Definition at line 111 of file Entity.java.
|
inline |
getPosition()
Implements com.osroyale.game.world.Interactable.
Definition at line 115 of file Entity.java.
|
inline |
Check if an entity is an object
Definition at line 251 of file Entity.java.
|
inline |
Check if an entity is an object
Definition at line 246 of file Entity.java.
|
inline |
Validates this npc based on its current region and registered state.
True
if this npc is a valid log in the game world. Reimplemented in com.osroyale.game.world.entity.mob.player.Player.
Definition at line 191 of file Entity.java.
|
inline |
Implements com.osroyale.game.world.Interactable.
Definition at line 95 of file Entity.java.
|
abstract |
Registers an entity to the World
.
Reimplemented in com.osroyale.content.bot.PlayerBot, com.osroyale.content.combat.cannon.Cannon, com.osroyale.game.world.entity.mob.npc.Npc, com.osroyale.game.world.entity.mob.player.Player, com.osroyale.game.world.items.ground.GroundItem, and com.osroyale.game.world.object.CustomGameObject.
|
abstract |
Removes this entity from the specified region.
region | The region. |
Reimplemented in com.osroyale.content.combat.cannon.Cannon, com.osroyale.game.world.entity.mob.npc.Npc, com.osroyale.game.world.entity.mob.player.Player, com.osroyale.game.world.items.ground.GroundItem, and com.osroyale.game.world.object.CustomGameObject.
|
abstract |
Unregisters an entity from the World
.
Reimplemented in com.osroyale.content.bot.PlayerBot, com.osroyale.content.combat.cannon.Cannon, com.osroyale.game.world.entity.mob.npc.Npc, com.osroyale.game.world.entity.mob.player.Player, com.osroyale.game.world.items.ground.GroundItem, and com.osroyale.game.world.object.CustomGameObject.
|
inline |
Implements com.osroyale.game.world.Interactable.
Definition at line 90 of file Entity.java.