private void drawGhost(EntityStatus ghost) { // TODO: Don't draw if off-screen! boolean facingRight = ghost.getFacingRight(); double xPos = ghost.getXPos(); double yPos = ghost.getYPos(); double textureHalfWidth = ghost.getTextureHalfWidth(); double textureHeight = ghost.getTextureHeight(); double left = xPos - textureHalfWidth; double right = xPos + textureHalfWidth; GLDrawer.useTexture(ghost.getCurrentTexture()); GLDrawer.drawQuad( (facingRight ? left : right), (facingRight ? right : left), yPos, yPos + textureHeight); Entity.drawMiniHealthBar(xPos, yPos + textureHeight, ghost.getAmtHealth()); }