onExit() is now properly called in PlayerBase.move(). this fixes #5.
This commit is contained in:
		@@ -38,8 +38,9 @@ public class PlayerBase implements Destroyable {
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            if (adjtile.isSteppable())
 | 
					            if (adjtile.isSteppable())
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                adjtile.onEntry(this);
 | 
					                currentTile.onExit(this);
 | 
				
			||||||
                setCurrentTile(adjtile);
 | 
					                setCurrentTile(adjtile);
 | 
				
			||||||
 | 
					                adjtile.onEntry(this);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user