Beispiel #1
0
        public Concept()         : base()
        {            
            ps = Particles.ParticleManager.CreateParticleSystem(Particles.ParticleManager.defaultParticle);
            m_backgroundSprite = content.Load<Texture2D>("Images/levelbackground");
            m_playerSprite = content.Load<Texture2D>("Images/playergreen");
            m_enemySprite = content.Load<Texture2D>("Images/littleship");
            m_crosshairSprite = content.Load<Texture2D>("Images/crosshair");
            m_lineSprite = content.Load<Texture2D>("Images/line");

            m_playerOne = new ConceptPlayer();

            m_missleEnemyList = new List<ConceptMissileEnemy>();
            m_missleEnemyList.Add(new ConceptMissileEnemy(new Vector2(100, 200)));
            m_missleEnemyList.Add(new ConceptMissileEnemy(new Vector2(700, 250)));
            m_missleEnemyList.Add(new ConceptMissileEnemy(new Vector2(300, 450)));

            m_seekerEnemyList = new List<ConceptSeekerEnemy>();
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(110, 250)));
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(210, 150)));
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(710, 400)));
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(510, 350)));

        }
Beispiel #2
0
        public Concept()         : base()
        {            
            ps = Particles.ParticleManager.CreateParticleSystem(Particles.ParticleManager.defaultParticle);
            m_backgroundSprite = content.Load<Texture2D>("Images/LevelBackground");
            m_playerSprite = content.Load<Texture2D>("Images/PlayerGreen");
            m_enemySprite = content.Load<Texture2D>("Images/littleship");
            m_crosshairSprite = content.Load<Texture2D>("Images/crosshair");
            m_lineSprite = content.Load<Texture2D>("Images/line");
            m_redExplosionSpriteSheet = content.Load<Texture2D>("Images/red3");

            m_redExplosionAnimation = new TextureAtlas.AnimatedSprite(m_redExplosionSpriteSheet, 5, 16);
            
            m_playerOne = new ConceptPlayer();

            m_missleEnemyList = new List<ConceptMissileEnemy>();
            m_missleEnemyList.Add(new ConceptMissileEnemy(new Vector2(100, 200)));
            m_missleEnemyList.Add(new ConceptMissileEnemy(new Vector2(700, 250)));
            m_missleEnemyList.Add(new ConceptMissileEnemy(new Vector2(300, 450)));

            m_seekerEnemyList = new List<ConceptSeekerEnemy>();
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(110, 250)));
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(210, 150)));
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(710, 400)));
            m_seekerEnemyList.Add(new ConceptSeekerEnemy(new Vector2(510, 350)));

        }