Display.drawVisuals() now throws IOException.

This commit is contained in:
ericnerdo 2016-05-07 15:10:42 +02:00
parent f4f118a9ba
commit c157981253

View File

@ -1,5 +1,6 @@
package cicaprojekt; package cicaprojekt;
import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -14,7 +15,7 @@ public class Display {
visuals.add(visual); visuals.add(visual);
} }
public void drawVisuals() { public void drawVisuals() throws IOException {
for(Drawer visual : visuals) for(Drawer visual : visuals)
visual.draw(); visual.draw();
} }