src/neon/rendering/RenderSystem.java
/**
   * Draws an image if it is in view.
   *
   * @param graphics the graphics object used to draw the game's graphics
   * @param imgObj the image to be drawn
   */
Draws an image if it is in view.
@param graphics the graphics object used to draw the game's graphics
@param imgObj the image to be drawn
Draws an image if it is in view . @param graphics the graphics object used to draw the game ' s graphics @param imgObj the image to be drawn
public static void smartDrawImage(Graphics graphics, ImageObject imgObj) {
    if (isHitboxInView(imgObj.getHitbox())) {
      drawImage(graphics, imgObj);
    }
  }
public static void smartDrawImage ( Graphics graphics , ImageObject imgObj ) { if ( isHitboxInView ( imgObj . getHitbox ( ) ) ) { drawImage ( graphics , imgObj ) ; } }
Draws an image if it is in view.
Draws an image if it is in view .