Package net.runelite.api
Interface Tile
-
public interface Tile
Represents a tile in the game.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tile
getBridge()
Return the tile under this one, if this tile is a bridgeDecorativeObject
getDecorativeObject()
Gets the decoration on the tile.GameObject[]
getGameObjects()
Gets all game objects on the tile.List<TileItem>
getGroundItems()
Get all the ground items for this tileGroundObject
getGroundObject()
Gets the object on the ground layer of the tile.ItemLayer
getItemLayer()
Gets the items held on this tile.LocalPoint
getLocalLocation()
Gets the local coordinate of the tile.int
getPlane()
Gets the plane that this tile is on.int
getRenderLevel()
Get the plane this tile is rendered on, which is where the tile heights are from.Point
getSceneLocation()
Gets the location coordinate of the tile in scene coordsSceneTileModel
getSceneTileModel()
Gets the model of the tile in the scene.SceneTilePaint
getSceneTilePaint()
Gets the scene paint of the tile.WallObject
getWallObject()
Gets the wall of the tile.WorldPoint
getWorldLocation()
Gets the location coordinate of the tile in the world.void
setGroundObject(GroundObject groundObject)
Sets the object on the ground layer of the tile.
-
-
-
Method Detail
-
getDecorativeObject
DecorativeObject getDecorativeObject()
Gets the decoration on the tile.- Returns:
- the tile decoration
-
getGameObjects
GameObject[] getGameObjects()
Gets all game objects on the tile.- Returns:
- the game objects
-
getItemLayer
ItemLayer getItemLayer()
Gets the items held on this tile.- Returns:
- the item
-
getGroundObject
GroundObject getGroundObject()
Gets the object on the ground layer of the tile.- Returns:
- the ground object
-
setGroundObject
void setGroundObject(GroundObject groundObject)
Sets the object on the ground layer of the tile.- Parameters:
groundObject
- the ground object
-
getWallObject
WallObject getWallObject()
Gets the wall of the tile.- Returns:
- the wall object
-
getSceneTilePaint
SceneTilePaint getSceneTilePaint()
Gets the scene paint of the tile.- Returns:
- the paint
-
getSceneTileModel
SceneTileModel getSceneTileModel()
Gets the model of the tile in the scene.- Returns:
- the tile model
-
getWorldLocation
WorldPoint getWorldLocation()
Gets the location coordinate of the tile in the world.- Returns:
- the world location
-
getSceneLocation
Point getSceneLocation()
Gets the location coordinate of the tile in scene coords- Returns:
- the scene location
-
getLocalLocation
LocalPoint getLocalLocation()
Gets the local coordinate of the tile.- Returns:
- the local location
-
getPlane
int getPlane()
Gets the plane that this tile is on.- Returns:
- the plane
-
getRenderLevel
int getRenderLevel()
Get the plane this tile is rendered on, which is where the tile heights are from.- Returns:
-
getGroundItems
List<TileItem> getGroundItems()
Get all the ground items for this tile- Returns:
- the ground items
-
getBridge
Tile getBridge()
Return the tile under this one, if this tile is a bridge- Returns:
-
-