Removes the setBackgroundAndForegroundColor function.
@@ -197,7 +197,7 @@ public class Screen extends Component implements Receiver<String> {
}
/**
- * Draws the screen onto the specified graphics context..
+ * Draws the screen onto the specified graphics context.
*
* @param gc
* The graphics context to draw with.
@@ -213,7 +213,7 @@ public class Screen extends Component implements Receiver<String> {
}
/**
- * Draws the screen onto the specified graphics context..
+ * Draws the screen onto the specified graphics context.
*
* @param gc
* The graphics context to draw with.
@@ -465,25 +465,6 @@ public class Screen extends Component implements Receiver<String> {
}
}
- /**
- * Sets the background and foreground color of all characters.
- *
- * @param background
- * The new background color.
- *
- * @param foreground
- * The new foreground color.
- *
- * @throws NullPointerException
- * If the background or foreground color is null.
- */
- public void setBackgroundAndForegroundColor(final @NonNull Color background, final @NonNull Color foreground) {
- for (final AsciiString string : getStrings()) {
- string.setBackgroundColor(background);
- string.setForegroundColor(foreground);
- }
- }
-
/**
* Adds a component to the screen and registers event listeners of the
* component, to the parent panel, if required.
