Example #1
0
 public PlayerOffScreenWithShapesRemainingReason(FSMTransistion identifier, IStateTransitioner controller,
                                                 IConsumerListener consumed, bool shapesRemaining, FSMStateID goToState)
     : base(identifier, goToState, controller)
 {
     m_Consumed = consumed;
     m_ShouldShapesBeRemaining = shapesRemaining;
     m_StatusListener          = new PlayerStatusChangeListener();
 }
 public PlayerStatusChangeReason(IStateTransitioner controller, PlayerStatus desiredStatus, FSMStateID goToState)
     : base(FSMTransistion.PlayerStatusChanged, goToState, controller)
 {
     m_DesiredStatus  = desiredStatus;
     m_StatusListener = new PlayerStatusChangeListener();
 }