summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/ILoginPanel.java
blob: 34978aaf725ba8eeb12b0ca6b2e2741a61f68aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package jrummikub.view;

import jrummikub.util.IEvent;
import jrummikub.util.IEvent1;
import jrummikub.util.LoginData;

/**
 * LoginPanel for network game
 * 
 */
public interface ILoginPanel {

	/**
	 * Player has offered all information and wants to connect
	 * 
	 * @return LoginData username, server, password, channel
	 */
	public IEvent1<LoginData> getLoginEvent();

	/**
	 * Emitted when the user cancels the login process
	 * 
	 * @return the event
	 */
	public IEvent getCancelEvent();

}