38 lines
996 B
C#
38 lines
996 B
C#
using FSM;
|
|
using ZXKFramework;
|
|
namespace DongWuYiXue.QiGuanChaGuan
|
|
{
|
|
public class XuanZeTiWeiState : FsmState<FSMManager>
|
|
{
|
|
public override void OnStateEnter()
|
|
{
|
|
base.OnStateEnter();
|
|
this.Log("½øÈëÑ¡ÔñÌåλ״̬");
|
|
fsm.ShowCamera("Ñ¡ÔñÌåλ_Camera");
|
|
if (fsm.main_gameModel.modeType == ModeType.ShiXun)
|
|
{
|
|
fsm.ShowImgQuestion(3, 5, 0, () =>
|
|
{
|
|
fsm.nextState = true;
|
|
});
|
|
}
|
|
if (fsm.main_gameModel.modeType == ModeType.KaoHe)
|
|
{
|
|
fsm.ShowImgQuestion(3, 3, 0, () =>
|
|
{
|
|
fsm.nextState = true;
|
|
});
|
|
}
|
|
}
|
|
public override void OnStateStay()
|
|
{
|
|
base.OnStateStay();
|
|
}
|
|
public override void OnStateExit()
|
|
{
|
|
base.OnStateExit();
|
|
fsm.nextState = false;
|
|
}
|
|
}
|
|
}
|