RSTile: setDecorativeObject (#2967)

Co-authored-by: ImNo <kylian@iphone.nl>
This commit is contained in:
ImNoOSRS
2021-03-18 23:42:16 +01:00
committed by GitHub
parent 9824ddd787
commit 05ae0b769c
2 changed files with 11 additions and 0 deletions

View File

@@ -38,6 +38,13 @@ public interface Tile extends TileObject
*/
DecorativeObject getDecorativeObject();
/**
* Sets the object on the decorative layer of the tile.
*
* @param decorativeObject the decorative object
*/
void setDecorativeObject(DecorativeObject decorativeObject);
/**
* Gets all game objects on the tile.
*

View File

@@ -24,6 +24,10 @@ public interface RSTile extends Tile
@Override
DecorativeObject getDecorativeObject();
@Import("wallDecoration")
@Override
void setDecorativeObject(DecorativeObject object);
@Import("floorDecoration")
@Override
GroundObject getGroundObject();