public bool ExecuteAction(GameContext context, List<MJsonMessageAll> msgList) { return context.OnOpenDora(); }
public bool ExecuteAction(GameContext context, List<MJsonMessageAll> msgList) { var nextAction = SelectHighPriorityMessage(msgList); if (nextAction.IsNONE()) { return context.OnOpenDora(); } else if (nextAction.IsHORA()) { return context.OnHora(nextAction.actor, nextAction.target, nextAction.pai); } else { Debug.Assert(false); return false; // If this line executed, It is Error ; } }