y = getHitbox().newY + getHitbox().height;
tile = tm.getTilefromCoord(x, y);
synchronized (tile) {
tile.getHitbox().setLocation(x - x % tm.getTilesizeX(), y - y % tm.getTilesizeY());
if (tile.isBlocked()) {
tile.handleCollisionWith(this);
}
}
ArrayList<Entity> updatelist = InGame.getInstance().getUpdateList();
ArrayList<Entity> localupdatelist = new ArrayList<Entity>();