Example #1
0
    protected override void MakeISM()
    {
        mISM = new ISMStateMachine <ScreenMeshHalfCameraController>(this);

        mISM.CreateAndAdd <SMHBounceState>("Bounce", this);
        mISM.CreateAndAdd <SMHBounceDragState>("BounceDrag", this);


        mISM.Push("Bounce");
    }
    protected virtual void MakeISM()
    {
        mISM = new ISMStateMachine <CylinderPlaneMeshController>(this);

        mISM.CreateAndAdd <CMPlaneState>("Plane", this);
        mISM.CreateAndAdd <CMPinchState>("Pinch", this);
        mISM.CreateAndAdd <CMCylinderState>("Cylinder", this);
        mISM.CreateAndAdd <CMZoomOutState>("ZoomOut", this);
        mISM.CreateAndAdd <CMZoomInState>("ZoomIn", this);

        mISM.Push("Plane");
    }
    protected virtual void MakeISM()
    {
        mISM = new ISMStateMachine <ScreenMeshHalfCameraController>(this);

        mISM.CreateAndAdd <SMHIdleState>("Idle", this);
        mISM.CreateAndAdd <SMHDragState>("Drag", this);
        mISM.CreateAndAdd <SMHZoomOutState>("ZoomOut", this);
        mISM.CreateAndAdd <SMHZoomInState>("ZoomIn", this);
        mISM.CreateAndAdd <SMHBounceState>("Bounce", this);
        mISM.CreateAndAdd <SMHBounceDragState>("BounceDrag", this);


        mISM.Push("Idle");
    }
    protected virtual void MakeISM()
    {
        mISM = new ISMStateMachine <WideAngleCameraController>(this);

        mISM.CreateAndAdd <WAIdleState>("Idle", this);
        mISM.CreateAndAdd <WADragState>("Drag", this);
        mISM.CreateAndAdd <WAZoomOutState>("ZoomOut", this);
        mISM.CreateAndAdd <WAZoomInState>("ZoomIn", this);
        mISM.CreateAndAdd <WABounceState>("Bounce", this);
        mISM.CreateAndAdd <WAPullEnergyState>("PullEnergy", this);
        mISM.CreateAndAdd <WAPatrolDragState>("PatrolDrag", this);


        mISM.Push("Idle");
    }
 public ISMISMState(string name, T entity, ISMStateMachine <T> parentISM, int priority, params string[] groups) :
     base(name, entity, parentISM, priority, groups)
 {
 }
 public ISMState(string name, T entity, ISMStateMachine <T> parentISM, int priority, params string[] groups) :
     base(name, priority, groups)
 {
     mEntity    = entity;
     mParentISM = parentISM;
 }
Example #7
0
 public WABaseState(string name, WideAngleCameraController entity, ISMStateMachine <WideAngleCameraController> parentISM, int priority)
     : base(name, entity, parentISM, priority, "Exclusive")
 {
 }
Example #8
0
 public WAPatrolDragState(string name, WideAngleCameraController entity, ISMStateMachine <WideAngleCameraController> parentISM, int priority)
     : base(name, entity, parentISM, priority)
 {
 }
 public CMBaseState(string name, CylinderPlaneMeshController entity, ISMStateMachine <CylinderPlaneMeshController> parentISM, int priority)
     : base(name, entity, parentISM, priority, "Exclusive")
 {
 }
 public CMZoomInState(string name, CylinderPlaneMeshController entity, ISMStateMachine <CylinderPlaneMeshController> parentISM, int priority)
     : base(name, entity, parentISM, priority)
 {
 }
Example #11
0
 public SMHIdleState(string name, ScreenMeshHalfCameraController entity, ISMStateMachine <ScreenMeshHalfCameraController> parentISM, int priority)
     : base(name, entity, parentISM, priority)
 {
 }
Example #12
0
 public SMHBounceDragState(string name, ScreenMeshHalfCameraController entity, ISMStateMachine <ScreenMeshHalfCameraController> parentISM, int priority)
     : base(name, entity, parentISM, priority)
 {
     _NoOperationTimer = new CrudeElapsedTimer(1.0f);
 }