Added some documentation
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@134 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
16da68b0ae
commit
6cac00762b
3 changed files with 16 additions and 3 deletions
|
@ -1,7 +1,5 @@
|
|||
package jrummikub.view;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import jrummikub.model.Position;
|
||||
import jrummikub.model.StoneSet;
|
||||
import jrummikub.util.Event1;
|
||||
|
|
|
@ -54,9 +54,25 @@ public interface IView {
|
|||
*/
|
||||
public IEvent getStartTurnEvent();
|
||||
|
||||
/**
|
||||
* Enables or disables the panel shown when a player has won
|
||||
*
|
||||
* @param enable
|
||||
* enable/disable
|
||||
*/
|
||||
void enableWinPanel(boolean enable);
|
||||
|
||||
/**
|
||||
* The quit event is emitted when the player wants to quit the game
|
||||
*
|
||||
* @return the event
|
||||
*/
|
||||
IEvent getQuitEvent();
|
||||
|
||||
/**
|
||||
* The new game event is emitted when the player wants to start a new game
|
||||
*
|
||||
* @return the event
|
||||
*/
|
||||
IEvent getNewGameEvent();
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@ import java.awt.event.ComponentEvent;
|
|||
import java.awt.image.BufferedImage;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.swing.border.MatteBorder;
|
||||
|
|
Reference in a new issue