RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
GameObject.java
1package com.osroyale.game.world.object;
2
3import com.osroyale.game.world.Interactable;
4import com.osroyale.game.world.entity.Entity;
5import com.osroyale.game.world.position.Position;
6import com.osroyale.util.generic.GenericAttributes;
7
13public interface GameObject extends Interactable {
14
15 default int getInstancedHeight() {
16 return Entity.DEFAULT_INSTANCE;
17 }
18
21
24
27
29 int width();
30
32 int length();
33
34 int distance();
35
38
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}