Added getFlags method to gameObject
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -43,5 +43,6 @@ public interface RSGameObject extends GameObject
|
||||
long getHash();
|
||||
|
||||
@Import("flags")
|
||||
@Override
|
||||
int getFlags();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user