2025-09-22 17:33:05 +08:00

38 lines
997 B
C#

using FSM;
using ZXKFramework;
namespace DongWuYiXue.QiGuanChaGuan
{
public class WuPinZhunBeiState : FsmState<FSMManager>
{
public override void OnStateEnter()
{
base.OnStateEnter();
this.Log("进入物品准备状态");
fsm.ShowCamera("物品准备_Camera");
if (fsm.main_gameModel.modeType == ModeType.ShiXun)
{
fsm.ShowImgQuestion(0, 5, 0, () =>
{
fsm.nextState = true;
});
}
if (fsm.main_gameModel.modeType == ModeType.KaoHe)
{
fsm.ShowImgQuestion(0, 4, 0, () =>
{
fsm.nextState = true;
});
}
}
public override void OnStateStay()
{
base.OnStateStay();
}
public override void OnStateExit()
{
base.OnStateExit();
fsm.nextState = false;
}
}
}