|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectm865.simulation.Event
m865.simulation.DepartmentStoreEvent
m865.simulation.PressButtonEvent
public class PressButtonEvent
Event related to ButtonSystem
Field Summary |
---|
Fields inherited from class m865.simulation.DepartmentStoreEvent |
---|
departmentStore |
Fields inherited from class m865.simulation.Event |
---|
firingTime |
Constructor Summary | |
---|---|
PressButtonEvent(java.lang.Integer time,
DepartmentStore store,
Passenger p,
int f)
Constructor for objects of class PressButtonEvent |
Method Summary | |
---|---|
void |
fire()
Updates ButtonSystem. |
java.lang.String |
toString()
Simple to string method to help with debugging. |
Methods inherited from class m865.simulation.Event |
---|
adjustPriority, compareTo, getFiringTime, setFiringTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PressButtonEvent(java.lang.Integer time, DepartmentStore store, Passenger p, int f)
f
- Floor number (starts from 1)Method Detail |
---|
public void fire()
fire
in class Event
public java.lang.String toString()
toString
in class Event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |