diff options
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r-- | src/jrummikub/control/network/LoginControl.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/jrummikub/control/network/LoginControl.java b/src/jrummikub/control/network/LoginControl.java new file mode 100644 index 0000000..a9dd5e8 --- /dev/null +++ b/src/jrummikub/control/network/LoginControl.java @@ -0,0 +1,26 @@ +package jrummikub.control.network; + +import jrummikub.util.Event; +import jrummikub.util.Event3; +import jrummikub.util.IEvent; +import jrummikub.util.IEvent3; +import jrummikub.view.IView; + +public class LoginControl { + private IView view; + private Event3<String, String, String> loginEvent = new Event3<String, String, String>(); + private Event cancelEvent = new Event(); + + public LoginControl(IView view) { + this.view = view; + } + + public IEvent3<String, String, String> getLoginEvent() { + return loginEvent; + } + + public IEvent getCancelEvent() { + return cancelEvent; + } + +} |