I have a problem with the player not being pushed by the wall. The wall and player are null to each other.
I would like to have the wall push the player if they touch each other.
public void shove()
{
if(canSee(WallRect.class))
{
setLocation(getX()-speed, getY());
}
}
