Added Api to get tile MinPlane (RSClass Method was already named "getPhysicalLevel", so i have kept that name).

This commit is contained in:
Noodleeater
2021-02-20 18:00:08 +00:00
parent e33d4f2254
commit cae90a7565

View File

@@ -101,6 +101,16 @@ public interface Tile extends TileObject
*/
int getRenderLevel();
/**
* Get the minimum plane this tile will be rendered on.
* Example: This tile is on plane 1. The local player is on plane 0, and hide roofs option is turned on.
* If minPlane is 0, this tile will not be rendered.
* If minPlane is 1, this tile will be rendered.
*
* @return the minPlane
*/
int getPhysicalLevel();
/**
* Computes and returns whether this tile has line of sight to another.
*