Beispiel #1
0
        public Level3Screen(Game game, SpriteBatch sB)
            : base(game, sB)
        {
            isActive = true;
            isCompleted = false;
            timeCounter = 0;

            mainPlayer = GameFlowManager.player1;

            PE1 = new ParticleEngine(sB, Game.Content.Load<Texture2D>("Sprites/goatV1"), 1);
            PE1.MaxParticles = 1000;

            spriteFont1 = Game.Content.Load<SpriteFont>("Fonts/SF1");

            feynmanLecture = new FeynmanObject(game, sB);
            feynmanLecture.position = new Vector2(400, 150);

            gravity = 1f;
            bulletPush = 10f;
        }
Beispiel #2
0
        public Level3Screen(Game game, SpriteBatch sB) : base(game, sB)
        {
            isActive    = true;
            isCompleted = false;
            timeCounter = 0;



            mainPlayer = GameFlowManager.player1;

            PE1 = new ParticleEngine(sB, Game.Content.Load <Texture2D>("Sprites/goatV1"), 1);
            PE1.MaxParticles = 1000;

            spriteFont1 = Game.Content.Load <SpriteFont>("Fonts/SF1");

            feynmanLecture          = new FeynmanObject(game, sB);
            feynmanLecture.position = new Vector2(400, 150);

            gravity    = 1f;
            bulletPush = 10f;
        }