project: add missing api changes from #3105
This commit is contained in:
@@ -121,7 +121,7 @@ public abstract class RSGameObjectMixin implements RSGameObject
|
|||||||
public Angle getOrientation()
|
public Angle getOrientation()
|
||||||
{
|
{
|
||||||
int orientation = getModelOrientation();
|
int orientation = getModelOrientation();
|
||||||
int rotation = (getFlags() >> 6) & 3;
|
int rotation = (getConfig() >> 6) & 3;
|
||||||
return new Angle(rotation * 512 + orientation);
|
return new Angle(rotation * 512 + orientation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,5 +19,9 @@ public interface RSFloorDecoration extends GroundObject
|
|||||||
@Override
|
@Override
|
||||||
RSRenderable getRenderable();
|
RSRenderable getRenderable();
|
||||||
|
|
||||||
|
@Import("flags")
|
||||||
|
@Override
|
||||||
|
int getConfig();
|
||||||
|
|
||||||
void setPlane(int plane);
|
void setPlane(int plane);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ public interface RSGameObject extends GameObject
|
|||||||
long getHash();
|
long getHash();
|
||||||
|
|
||||||
@Import("flags")
|
@Import("flags")
|
||||||
int getFlags();
|
@Override
|
||||||
|
int getConfig();
|
||||||
|
|
||||||
int getPlane();
|
int getPlane();
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ public interface RSScriptEvent extends ScriptEvent
|
|||||||
@Import("mouseX")
|
@Import("mouseX")
|
||||||
int getMouseX();
|
int getMouseX();
|
||||||
|
|
||||||
|
@Import("mouseY")
|
||||||
|
int getMouseY();
|
||||||
|
|
||||||
@Import("keyTyped")
|
@Import("keyTyped")
|
||||||
// shit name
|
// shit name
|
||||||
int getTypedKeyCode();
|
int getTypedKeyCode();
|
||||||
|
|||||||
@@ -32,5 +32,9 @@ public interface RSWallDecoration extends DecorativeObject
|
|||||||
@Override
|
@Override
|
||||||
RSRenderable getRenderable2();
|
RSRenderable getRenderable2();
|
||||||
|
|
||||||
|
@Import("flags")
|
||||||
|
@Override
|
||||||
|
int getConfig();
|
||||||
|
|
||||||
void setPlane(int plane);
|
void setPlane(int plane);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user