Coverage Summary for Class: Context (it.polimi.ingsw.Client.GUI)

Class Class, % Method, % Line, %
Context 0% (0/1) 0% (0/7) 0% (0/7)


1 package it.polimi.ingsw.Client.GUI; 2  3 import it.polimi.ingsw.Network.SocketWrapper; 4  5 /** 6  * Context holds the information needed to relate the player, the server connection 7  * and the player's personal graphical representation. 8  */ 9 public class Context { 10  private Window window; 11  private SocketWrapper socketWrapper; 12  private String nickname; 13  14  public Window getWindow() { 15  return window; 16  } 17  18  public void setWindow(Window window) { 19  this.window = window; 20  } 21  22  public SocketWrapper getSocketWrapper() { 23  return socketWrapper; 24  } 25  26  public void setSocketWrapper(SocketWrapper socketWrapper) { 27  this.socketWrapper = socketWrapper; 28  } 29  30  public String getNickname() { 31  return nickname; 32  } 33  34  public void setNickname(String nickname) { 35  this.nickname = nickname; 36  } 37 }