onExit() is now properly called in PlayerBase.move(). this fixes #5.

This commit is contained in:
Kjistóf 2016-05-13 18:43:50 +02:00
parent 314428b273
commit 42467c7384

View File

@ -38,8 +38,9 @@ public class PlayerBase implements Destroyable {
{
if (adjtile.isSteppable())
{
adjtile.onEntry(this);
currentTile.onExit(this);
setCurrentTile(adjtile);
adjtile.onEntry(this);
}
}
}