Display.drawVisuals() now throws IOException.
This commit is contained in:
parent
f4f118a9ba
commit
c157981253
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user