Esempio n. 1
0
        protected override void LoadContent()
        {
            base.LoadContent();
            setBgColor(new Color(51, 26, 163));
            background = new Texture2D(GraphicsDevice, 1, 1);
            background.SetData(new Color[] { new Color(0, 28, 136) });
            house = Game.Content.Load<Texture2D>("house");
            player = Game.Content.Load<Texture2D>("rechts");

            elliot = new Elliott();

            elliot.Visible = true;
            elliot.endScreen = true;

            EtGame.instanz.Components.Add(elliot);
        }
Esempio n. 2
0
        protected override void LoadContent()
        {
            base.LoadContent();
            setBgColor(new Color(51, 26, 163));
            background = new Texture2D(GraphicsDevice, 1, 1);
            background.SetData(new Color[] { new Color(0, 28, 136) });
            house  = Game.Content.Load <Texture2D>("house");
            player = Game.Content.Load <Texture2D>("rechts");

            elliot = new Elliott();

            elliot.Visible   = true;
            elliot.endScreen = true;

            EtGame.instanz.Components.Add(elliot);
        }
Esempio n. 3
0
 protected override void LoadContent()
 {
     base.LoadContent();
     sb         = new SpriteBatch(GraphicsDevice);
     player     = new Player(this);
     currentPit = theGame.getWorld().getPit(0);
     agent      = new Agent();
     elliot     = new Elliott();
     scientist  = new Scientist();
     sndAction  = Game.Content.Load <SoundEffect>("action");
     theGame.Components.Add(player);
     theGame.Components.Add(currentPit);
     theGame.Components.Add(agent);
     theGame.Components.Add(elliot);
     theGame.Components.Add(scientist);
 }
Esempio n. 4
0
 protected override void LoadContent()
 {
     base.LoadContent();
     sb = new SpriteBatch(GraphicsDevice);
     player = new Player(this);
     currentPit = theGame.getWorld().getPit(0);
     agent = new Agent();
     elliot = new Elliott();
     scientist = new Scientist();
     sndAction = Game.Content.Load<SoundEffect>("action");
     theGame.Components.Add(player);
     theGame.Components.Add(currentPit);
     theGame.Components.Add(agent);
     theGame.Components.Add(elliot);
     theGame.Components.Add(scientist);
 }