Moved player collision if statement into Player.class