Coverage Summary for Class: GUI (it.polimi.ingsw.Client.GUI)
| Class | Class, % | Method, % | Line, % |
|---|---|---|---|
| GUI | 0% (0/1) | 0% (0/2) | 0% (0/4) |
1 package it.polimi.ingsw.Client.GUI; 2 3 import it.polimi.ingsw.Client.GUI.Panels.StartPanel; 4 5 /** 6 * Run game's gui version by creating a new {@link Context} and a new {@link Window} 7 */ 8 public class GUI implements Runnable { 9 @Override 10 public void run() { 11 Context ctx = new Context(); 12 ctx.setWindow(new Window()); 13 ctx.getWindow().changeView(new StartPanel(ctx)); 14 } 15 }