diff options
Diffstat (limited to 'src/main/java/fr/umlv/java/wallj/context/GraphicsContext.java')
-rw-r--r-- | src/main/java/fr/umlv/java/wallj/context/GraphicsContext.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/fr/umlv/java/wallj/context/GraphicsContext.java b/src/main/java/fr/umlv/java/wallj/context/GraphicsContext.java index 2c1c72a..2eaa3b4 100644 --- a/src/main/java/fr/umlv/java/wallj/context/GraphicsContext.java +++ b/src/main/java/fr/umlv/java/wallj/context/GraphicsContext.java | |||
@@ -5,12 +5,10 @@ import fr.umlv.zen5.ScreenInfo; | |||
5 | import org.jbox2d.common.Vec2; | 5 | import org.jbox2d.common.Vec2; |
6 | 6 | ||
7 | import java.awt.*; | 7 | import java.awt.*; |
8 | import java.awt.geom.Ellipse2D; | ||
9 | import java.awt.geom.Rectangle2D; | ||
10 | import java.util.Objects; | 8 | import java.util.Objects; |
11 | 9 | ||
12 | /** | 10 | /** |
13 | * A context of the current graphic status of the application. | 11 | * The context of the application containing graphics information and services at one tick |
14 | * | 12 | * |
15 | * @author Adam NAILI | 13 | * @author Adam NAILI |
16 | */ | 14 | */ |
@@ -20,7 +18,7 @@ public final class GraphicsContext { | |||
20 | 18 | ||
21 | /** | 19 | /** |
22 | * @param graphics2D the current drawable canvas | 20 | * @param graphics2D the current drawable canvas |
23 | * @param screenInfo the informations about the screen | 21 | * @param screenInfo the information about the screen |
24 | */ | 22 | */ |
25 | public GraphicsContext(Graphics2D graphics2D, ScreenInfo screenInfo) { | 23 | public GraphicsContext(Graphics2D graphics2D, ScreenInfo screenInfo) { |
26 | this.graphics2D = Objects.requireNonNull(graphics2D); | 24 | this.graphics2D = Objects.requireNonNull(graphics2D); |