Java Reference
In-Depth Information
{
sgbuttonaction[i] = false;
}
sgbuttonaction[4] = true;
ccconn1_circleposi[0] = 132.0f*ANGLEPAI;
ccconn1_circleposi[1] = 95.0f*ANGLEPAI;
ccconn2_circleposi[0] = 130.0f*ANGLEPAI;
ccconn2_circleposi[1] = 90.0f*ANGLEPAI;
ccconn[0] = false;
ccconn[1] = false;
for (int i=0;i<6;i++)
{
passbuttonaction[i]=false;
}
}
h.15 maIn InItIalIZatIon functIon for event
detectIons
public void initialize()
{
allEvents = new WakeupCriterion[17];
allEvents[0] = new WakeupOnAWTEvent(MouseEvent.MOUSE_DRAGGED);
allEvents[1] = new WakeupOnAWTEvent(MouseEvent.MOUSE_PRESSED);
allEvents[2] = new WakeupOnAWTEvent(MouseEvent.MOUSE_RELEASED);
allEvents[3] = new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED);
allEvents[4] = new WakeupOnBehaviorPost(null, OSCION);
allEvents[5] = new WakeupOnBehaviorPost(null, OSCIOFF);
allEvents[6] = new WakeupOnBehaviorPost(null, SGON);
allEvents[7] = new WakeupOnBehaviorPost(null, SGOFF);
allEvents[8] = new WakeupOnBehaviorPost(null, SGINC);
allEvents[9] = new WakeupOnBehaviorPost(null, SGDEC);
allEvents[10] = new WakeupOnBehaviorPost(null, PASSON);
allEvents[11] = new WakeupOnBehaviorPost(null, DOOROPEN);
allEvents[12] = new WakeupOnBehaviorPost(null, DOORCLOSE);
allEvents[13] = new WakeupOnBehaviorPost(null, ANIMATION);
allEvents[14] = new WakeupOnBehaviorPost(null, INTERACTION);
allEvents[15] = new WakeupOnBehaviorPost(null, DISCONN);
allEvents[16] = new WakeupOnElapsedFrames(0);
alleventsCriterion = new WakeupOr(allEvents);
mouseandpostidEvents = new WakeupCriterion[16];
mouseandpostidEvents[0] = new WakeupOnAWTEvent(MouseEvent.MOUSE_DRAGGED);
mouseandpostidEvents[1] = new WakeupOnAWTEvent(MouseEvent.MOUSE_PRESSED);
mouseandpostidEvents[2] = new WakeupOnAWTEvent(MouseEvent.MOUSE_RELEASED);
mouseandpostidEvents[3] = new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED);
mouseandpostidEvents[4] = new WakeupOnBehaviorPost(null, OSCION);
mouseandpostidEvents[5] = new WakeupOnBehaviorPost(null, OSCIOFF);
mouseandpostidEvents[6] = new WakeupOnBehaviorPost(null, SGON);
mouseandpostidEvents[7] = new WakeupOnBehaviorPost(null, SGOFF);
Search WWH ::




Custom Search