From c15798125382b8ea2f658caf0232e57e70108cad Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Sat, 7 May 2016 15:10:42 +0200 Subject: [PATCH] Display.drawVisuals() now throws IOException. --- cicaprojekt/Display.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cicaprojekt/Display.java b/cicaprojekt/Display.java index 16ed820..b07c634 100644 --- a/cicaprojekt/Display.java +++ b/cicaprojekt/Display.java @@ -1,5 +1,6 @@ package cicaprojekt; +import java.io.IOException; import java.util.ArrayList; import java.util.List; @@ -14,7 +15,7 @@ public class Display { visuals.add(visual); } - public void drawVisuals() { + public void drawVisuals() throws IOException { for(Drawer visual : visuals) visual.draw(); }