edu.cuny.cat.event
Class DayInitPassEvent

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

public class DayInitPassEvent
extends AuctionEvent

An event that is fired before the starting of every trading day to notify GameReports so that they may do initialization work. Similar to DayStatPassEvent and RoundStatPassEvent, there are multiple passes of this kind of event to allow some order in the initialization of reports.

Version:
$Revision: 1.3 $
Author:
Jinzhong Niu
See Also:
DayStatPassEvent, RoundStatPassEvent

Field Summary
static int END_PASS
           
static int FIRST_PASS
           
protected  int pass
           
static int SECOND_PASS
           
static int START_PASS
           
static int THIRD_PASS
           
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
DayInitPassEvent(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

THIRD_PASS

public static final int THIRD_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

DayInitPassEvent

public DayInitPassEvent(int pass)
Method Detail

getPass

public int getPass()

setPass

public void setPass(int pass)