newCynic
Class GunnerAuxState

java.lang.Object
  |
  +--newCynic.GunnerAuxState
Direct Known Subclasses:
GunnerAuxState.A2STATE_0, GunnerAuxState.A2STATE_1

public abstract class GunnerAuxState
extends java.lang.Object


Nested Class Summary
private static class GunnerAuxState.A2STATE_0
           
private static class GunnerAuxState.A2STATE_1
           
 
Field Summary
private  java.lang.String _name
           
private static GunnerAuxState STATE_0
           
private static GunnerAuxState STATE_1
           
 
Constructor Summary
protected GunnerAuxState(java.lang.String aName)
           
 
Method Summary
protected  void chageParentState(Gunner aGunMaster, GunnerAuxState aNewState)
           
 java.lang.String getName()
           
 boolean isCalculationsFinished()
           
abstract  void onEnter(Gunner aGunMaster)
           
abstract  void processEvent(int aEvent, Gunner aGunMaster)
           
static void processIncomingEvent(Gunner aGunMaster, int aEvent)
           
static void reset(Gunner aGunMaster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

private java.lang.String _name

STATE_0

private static final GunnerAuxState STATE_0

STATE_1

private static final GunnerAuxState STATE_1
Constructor Detail

GunnerAuxState

protected GunnerAuxState(java.lang.String aName)
Method Detail

getName

public java.lang.String getName()

isCalculationsFinished

public boolean isCalculationsFinished()

processEvent

public abstract void processEvent(int aEvent,
                                  Gunner aGunMaster)

onEnter

public abstract void onEnter(Gunner aGunMaster)

reset

public static void reset(Gunner aGunMaster)

chageParentState

protected void chageParentState(Gunner aGunMaster,
                                GunnerAuxState aNewState)

processIncomingEvent

public static void processIncomingEvent(Gunner aGunMaster,
                                        int aEvent)