Exemple #1
0
        public void ShipHitEnemy(Player i_Player)
        {
            Enemy tempEnemy = m_Enemies.EnemyGotHitFromBullet(i_Player);

            if (tempEnemy != null)
            {
                i_Player.Score.AddScore(tempEnemy.Model);
            }

            // MotherSHip Intersect with bullets
            if (m_MotherShip.IntersectionWithShipBullets(i_Player))
            {
                i_Player.Score.AddScore(m_MotherShip.Model);
            }
        }