예제 #1
0
        // todo: move to character, AI should depend on boss.
        private void enemyAction()
        {
            if (_enemy.IsDead())
            {
                return;
            }
            List <string> words = _boardGame.GetSelectableWords();

            if (words.Count > 0)
            {
                StartCoroutine(_boardGame.EmulateWordActivation(words[0]));
            }
            else
            {
                _boardGame.ExtraAction();
                words = _boardGame.GetSelectableWords();
                StartCoroutine(_boardGame.EmulateWordActivation(words[0]));
            }
        }
예제 #2
0
 public void EnemyChangeScroll()
 {
     Debug.Log("EnemyChangeScroll");
     _boardGame.ExtraAction();
     ConnectionManager.GetMsg(SetEnemyActionReady);
 }