api: add decorative object offsets

Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
WooxSolo
2021-06-27 13:40:00 -04:00
committed by Adam
parent f7c3e68b2d
commit 41440d7385

View File

@@ -42,4 +42,16 @@ public interface DecorativeObject extends TileObject
Renderable getRenderable();
Renderable getRenderable2();
/**
* Decorative object x offset. This is added to the x position of the object, and is used to
* account for walls of varying widths.
*/
int getXOffset();
/**
* Decorative object y offset. This is added to the z position of the object, and is used to
* account for walls of varying widths.
*/
int getYOffset();
}