if(actor1IsUp() & direction == "left" & !getWorld().getObjects(Actor1.class).isEmpty())
{
Actor1 actor1 = (Actor1)getOneIntersectingObject(Actor1.class);
if(actor1 != null)
{
actor1.setLocation(actor1.getX() - 1, actor1.getY());
}
}
