edu.cuny.cat.event
Class RoundStatPassEvent

java.lang.Object
  extended by edu.cuny.cat.event.AuctionEvent
      extended by edu.cuny.cat.event.RoundStatPassEvent
All Implemented Interfaces:
edu.cuny.event.Event<AuctionEventListener>

public class RoundStatPassEvent
extends AuctionEvent

An event that is fired after the end of every trading round to notify GameReports so that they may calculate various stats.

Since game reports may rely on each other to do their own calculation, multiple passes of event notification of this kind enables reports that act during later passes to make use of results produced in the early passes.

Version:
$Revision: 1.6 $
Author:
Jinzhong Niu
See Also:
DayInitPassEvent, DayStatPassEvent

Field Summary
static int END_PASS
           
static int FIRST_PASS
           
protected  int pass
           
static int SECOND_PASS
           
static int START_PASS
           
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
RoundStatPassEvent(int pass)
           
 
Method Summary
 int getPass()
           
 void setPass(int pass)
           
 
Methods inherited from class edu.cuny.cat.event.AuctionEvent
getDay, getRound, getTick, getTime, notify, setTime, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_PASS

public static final int START_PASS
See Also:
Constant Field Values

FIRST_PASS

public static final int FIRST_PASS
See Also:
Constant Field Values

SECOND_PASS

public static final int SECOND_PASS
See Also:
Constant Field Values

END_PASS

public static final int END_PASS
See Also:
Constant Field Values

pass

protected int pass
Constructor Detail

RoundStatPassEvent

public RoundStatPassEvent(int pass)
Method Detail

getPass

public int getPass()

setPass

public void setPass(int pass)