RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
GameObject.java
1
package
com.osroyale.game.world.object;
2
3
import
com.osroyale.game.world.Interactable;
4
import
com.osroyale.game.world.entity.Entity;
5
import
com.osroyale.game.world.position.Position;
6
import
com.osroyale.util.generic.GenericAttributes;
7
13
public
interface
GameObject
extends
Interactable
{
14
15
default
int
getInstancedHeight() {
16
return
Entity
.DEFAULT_INSTANCE;
17
}
18
20
GenericAttributes
getGenericAttributes
();
21
23
GameObjectDefinition
getDefinition
();
24
26
Position
getPosition
();
27
29
int
width
();
30
32
int
length
();
33
34
int
distance();
35
37
ObjectType
getObjectType
();
38
40
ObjectDirection
getDirection
();
41
43
void
register
();
44
46
void
unregister
();
47
49
boolean
active
();
50
52
default
int
getId
() {
53
return
getDefinition
().
getId
();
54
}
55
56
void
transform(
int
id
);
57
58
void
rotate(
ObjectDirection
direction);
59
60
}
com.osroyale.game.world.entity.Entity
Definition
Entity.java:50
com.osroyale.game.world.object.GameObjectDefinition
Definition
GameObjectDefinition.java:42
com.osroyale.game.world.object.GameObjectDefinition.getId
int getId()
Definition
GameObjectDefinition.java:129
com.osroyale.game.world.position.Position
Definition
Position.java:51
com.osroyale.util.generic.GenericAttributes
Definition
GenericAttributes.java:45
com.osroyale.game.world.object.ObjectDirection
Definition
ObjectDirection.java:42
com.osroyale.game.world.object.ObjectType
Definition
ObjectType.java:58
com.osroyale.game.world.Interactable
Definition
Interactable.java:10
com.osroyale.game.world.object.GameObject
Definition
GameObject.java:13
com.osroyale.game.world.object.GameObject.getGenericAttributes
GenericAttributes getGenericAttributes()
com.osroyale.game.world.object.GameObject.unregister
void unregister()
com.osroyale.game.world.object.GameObject.getId
default int getId()
Definition
GameObject.java:52
com.osroyale.game.world.object.GameObject.active
boolean active()
com.osroyale.game.world.object.GameObject.getPosition
Position getPosition()
com.osroyale.game.world.object.GameObject.register
void register()
com.osroyale.game.world.object.GameObject.getObjectType
ObjectType getObjectType()
com.osroyale.game.world.object.GameObject.getDirection
ObjectDirection getDirection()
com.osroyale.game.world.object.GameObject.length
int length()
com.osroyale.game.world.object.GameObject.width
int width()
com.osroyale.game.world.object.GameObject.getDefinition
GameObjectDefinition getDefinition()