Added getFlags method to gameObject

This commit is contained in:
Noodleeater
2021-02-20 16:49:52 +00:00
parent c17ad0ea62
commit b242237140
2 changed files with 9 additions and 0 deletions

View File

@@ -73,4 +73,12 @@ public interface GameObject extends TileObject
int getRsOrientation();
Model getModel();
/**
* A bitfield containing various flags:
* object type id = bits & 0x20
* orientation (0-3) = bits >>> 6 & 3
* the bitfield may contain other flags in addition to those mentioned above
*/
int getFlags();
}

View File

@@ -43,5 +43,6 @@ public interface RSGameObject extends GameObject
long getHash();
@Import("flags")
@Override
int getFlags();
}