Package it.polimi.ingsw.Client.GUI
Class Window
java.lang.Object
it.polimi.ingsw.Client.GUI.Window
Window creates the top-level container (Java Swing component) onto which the game will be rendered
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidchangeView(JComponent newView) Remove all previous frame's contents and add a new JComponentgetFrame()
- 
Field Details- 
frameFrame that will contain GUI's game version
 
- 
- 
Constructor Details- 
Windowpublic Window()
 
- 
- 
Method Details- 
changeViewRemove all previous frame's contents and add a new JComponent- Parameters:
- newView- Component that will be drawn inside the frame
 
- 
getFrame- Returns:
- GUI'S frame
 
 
-