gvprojects.igel.presenter
Class IgelArgernClickOnly

java.lang.Object
  extended by gvprojects.igel.presenter.IgelArgernClickOnly

public class IgelArgernClickOnly
extends java.lang.Object

Example presenter that (1) interacts with the view using clicks only, and (2) interacts with the model without using "polling" callbacks.

Author:
Zachary Kurmas

Nested Class Summary
static interface IgelArgernClickOnly.GameEndListener
          Callback announcing the end of a game.
 
Constructor Summary
IgelArgernClickOnly(IIgelView view, IIgelGame model, IgelArgernClickOnly.GameEndListener gameEndListener)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgelArgernClickOnly

public IgelArgernClickOnly(IIgelView view,
                           IIgelGame model,
                           IgelArgernClickOnly.GameEndListener gameEndListener)
Constructor

Parameters:
view - the view
model - the model
gameEndListener - a listener called when the game ends