Exemple #1
0
        /// <summary>
        /// 在字母填充面板里确认填充
        /// </summary>
        /// <param name="isFillCorrect">If set to <c>true</c> is fill correct.</param>
        public void ConfirmFillCharactersInWordHUD(bool isFillCorrect)
        {
            MapEvent me = currentEnteredMapEvent.GetComponent <MapEvent> ();

            me.MapEventTriggered(true, battlePlayerCtr);

            MapWalkableEventsStartAction();
        }
Exemple #2
0
        /// 在单词选择面板中选择了某个答案
        public void ChooseAnswerInWordHUD(bool isChooseCorrect)
        {
            MapEvent me = currentEnteredMapEvent;

            if (me == null)
            {
                battlePlayerCtr.isInEvent = false;
                return;
            }
            // 根据选择正确与否,触发地图事件
            me.MapEventTriggered(isChooseCorrect, battlePlayerCtr);
        }
Exemple #3
0
        /// <summary>
        /// 判断选择错误时是否需要展示单词详细信息页面
        /// </summary>
        /// <returns><c>true</c>, if show full word detail when choose wrong was needed, <c>false</c> otherwise.</returns>
        public bool NeedShowFullWordDetailWhenChooseWrong()
        {
            MapEvent me = currentEnteredMapEvent.GetComponent <MapEvent>();

            return(me.IsFullWordNeedToShowWhenChooseWrong());
        }