src/neon/rendering/RenderSystem.java
/**
   * Draws a rectangle.
   *
   * @param graphics the graphics object used to draw the game's graphics
   * @param rectangle the rectangle to be drawn
   */
Draws a rectangle.
@param graphics the graphics object used to draw the game's graphics
@param rectangle the rectangle to be drawn
Draws a rectangle . @param graphics the graphics object used to draw the game ' s graphics @param rectangle the rectangle to be drawn
public static void drawRectangle(Graphics graphics, DrawableShape rectangle) {
    int[] parameters = initDrawShape(graphics, rectangle);
    if (rectangle.doFill()) {
      graphics.fillRect(parameters[0], parameters[1], parameters[2], parameters[3]);
    } else {
      graphics.drawRect(parameters[0], parameters[1], parameters[2], parameters[3]);
    }
  }
public static void drawRectangle ( Graphics graphics , DrawableShape rectangle ) { int [ ] parameters = initDrawShape ( graphics , rectangle ) ; if ( rectangle . doFill ( ) ) { graphics . fillRect ( parameters [ 0 ] , parameters [ 1 ] , parameters [ 2 ] , parameters [ 3 ] ) ; } else { graphics . drawRect ( parameters [ 0 ] , parameters [ 1 ] , parameters [ 2 ] , parameters [ 3 ] ) ; } }
Draws a rectangle.
Draws a rectangle .