Exemplo n.º 1
0
  /**
   * Draws to the graphics.
   *
   * @param g The graphics
   */
  public void draw(Graphics2D g) {
    // always check this
    if (visible) {
      if (graphics) {

      } else {
        attackerHealthBar.draw(g);
        defenderHealthBar.draw(g);
      }
    }
  }