RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.combat.cannon.Cannon Class Reference
Inheritance diagram for com.osroyale.content.combat.cannon.Cannon:
Collaboration diagram for com.osroyale.content.combat.cannon.Cannon:

Public Member Functions

Position getPosition ()
void register ()
void unregister ()
void addToRegion (Region region)
void removeFromRegion (Region region)
String getName ()
EntityType getType ()
Public Member Functions inherited from com.osroyale.game.world.entity.Entity
int width ()
int length ()
int getX ()
int getY ()
int getHeight ()
boolean isValid ()
final boolean isStaticObject ()
final boolean isCustomObject ()

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)
Protected Member Functions inherited from com.osroyale.game.world.entity.Entity
Entity destroy ()

Detailed Description

Handles the dwarf cannon.

Author
Daniel

Definition at line 55 of file Cannon.java.

Member Function Documentation

◆ addToRegion()

void com.osroyale.content.combat.cannon.Cannon.addToRegion ( Region region)
inline

Adds this entity to the specified region.

Parameters
regionThe region.

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 152 of file Cannon.java.

◆ getName()

String com.osroyale.content.combat.cannon.Cannon.getName ( )
inline

Gets the name of this entity.

Returns
The entity's name.

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 162 of file Cannon.java.

◆ getPosition()

Position com.osroyale.content.combat.cannon.Cannon.getPosition ( )
inline
Returns
the current location

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 86 of file Cannon.java.

◆ getType()

EntityType com.osroyale.content.combat.cannon.Cannon.getType ( )
inline

Gets the EntityType.

Returns
The EntityType.

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 167 of file Cannon.java.

◆ register()

void com.osroyale.content.combat.cannon.Cannon.register ( )
inline

Registers an entity to the World.

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 131 of file Cannon.java.

◆ removeFromRegion()

void com.osroyale.content.combat.cannon.Cannon.removeFromRegion ( Region region)
inline

Removes this entity from the specified region.

Parameters
regionThe region.

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 157 of file Cannon.java.

◆ unregister()

void com.osroyale.content.combat.cannon.Cannon.unregister ( )
inline

Unregisters an entity from the World.

Reimplemented from com.osroyale.game.world.entity.Entity.

Definition at line 145 of file Cannon.java.


The documentation for this class was generated from the following file: