Added getFlags method to gameObject
This commit is contained in:
@@ -73,4 +73,12 @@ public interface GameObject extends TileObject
|
|||||||
int getRsOrientation();
|
int getRsOrientation();
|
||||||
|
|
||||||
Model getModel();
|
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();
|
long getHash();
|
||||||
|
|
||||||
@Import("flags")
|
@Import("flags")
|
||||||
|
@Override
|
||||||
int getFlags();
|
int getFlags();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user