if (pixelsToSpace(i)+xposition >= maxWidth) {
xposition = 0; yposition += sprSpace.getHeight()+2;
}
character.drawSprite(graphics,xposition+x,yposition+y);
xposition += character.getWidth()+1;
}
if (xposition >= maxWidth) { xposition = x; yposition += sprSpace.getHeight()+2; }
}
}