sorry I've posted so much about health bars, the only thing I have left to do is have it update while the character loses health. here's my code for the health bar. this should be the last health bar post
public void fillRect(int x,
int y,
int width,
int height){}
public void drawRect(int x,
int y,
int width,
int height){}
private void prepare()
{
Cell cell = new Cell();
int cHlth = cell.getHealth();
addObject(cell, 600, 390);
getBackground().fillRect(500, 10, cHlth/300, 30);
}

