diff options
Diffstat (limited to 'docs/teaching/exercises/figures/FigureElement.java')
-rw-r--r-- | docs/teaching/exercises/figures/FigureElement.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/teaching/exercises/figures/FigureElement.java b/docs/teaching/exercises/figures/FigureElement.java index 22bb579a9..26cbed272 100644 --- a/docs/teaching/exercises/figures/FigureElement.java +++ b/docs/teaching/exercises/figures/FigureElement.java @@ -17,8 +17,8 @@ import java.awt.*; import java.awt.geom.*; public interface FigureElement { - public static final int MIN_VALUE = 0; - public static final int MAX_VALUE = 500; + public static final Rectangle MAX_BOUNDS = + new Rectangle(0, 0, 500, 500); public abstract void move(int dx, int dy); |