示例#1
0
    public void ReturnEnemy(CBoss a_oEnemy)
    {
        a_oEnemy.ReturnEnemy();

        for (int i = 0; i < m_oPlayers.Length; ++i)
        {
            if (!m_oPlayers[i].m_bIsDeath)
            {
                return;
            }
        }

        m_bIsPlayerOver = true;
    }
示例#2
0
    public void EnemyAttack(CBoss a_oEnemy)
    {
        if (m_bIsAttack && a_oEnemy.m_bAttackEnable)
        {
            if (a_oEnemy.m_bIsDeath)
            {
                return;
            }

            a_oEnemy.MoveEnemy(m_oPlayerTransforms.localPosition);

            m_bIsAttack = false;
        }
    }