Fix Actor.getWorldLocation to use pathX/pathY instead of getX/getY

This commit is contained in:
WooxSolo
2018-04-08 12:43:00 +02:00
committed by Adam
parent f54ba0f2a7
commit 92c8e9e9e6
3 changed files with 15 additions and 1 deletions

View File

@@ -42,6 +42,11 @@ public interface Actor extends Renderable
int getHealth();
/**
* Retrieve the server location of the actor. Note that this is typically
* a couple steps ahead of where the client renders the actor.
* @return Returns the server location of the actor.
*/
WorldPoint getWorldLocation();
LocalPoint getLocalLocation();