|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.event.AuctionEvent
public abstract class AuctionEvent
Superclass for all types of auction event.
Each auction event carries a time stamp, including current day, current round, and how many ticks into the round.
| Field Summary | |
|---|---|
protected int[] |
time
|
| Constructor Summary | |
|---|---|
AuctionEvent()
|
|
| Method Summary | |
|---|---|
int |
getDay()
|
int |
getRound()
|
int |
getTick()
|
int[] |
getTime()
|
void |
notify(AuctionEventListener listener)
|
void |
setTime(int[] time)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int[] time
| Constructor Detail |
|---|
public AuctionEvent()
| Method Detail |
|---|
public void setTime(int[] time)
public int[] getTime()
public int getDay()
public int getRound()
public int getTick()
public void notify(AuctionEventListener listener)
notify in interface edu.cuny.event.Event<AuctionEventListener>public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||