Пример #1
0
        public void Setup()
        {
            CreateBackgroudTexture();
            SetupCamera();

            _ufo = new Ufo(this)
            {
                Position = new Vector2(300, 300)
            };
            _allGameOjbects.Add(_ufo);

            var background = new CaveWall(this, "map1");

            _allGameOjbects.Add(background);

            AddCrates();

            var landingZone = new LandingZone(this, new Rectangle(3600, 1540, 300, 30));

            _allGameOjbects.Add(landingZone);

            _debugView.LoadContent(_graphicsDevice, _content);
        }
Пример #2
0
        public void Setup()
        {
            CreateBackgroudTexture();
            SetupCamera();

            _ufo = new Ufo(this) { Position = new Vector2(300, 300) };
            _allGameOjbects.Add(_ufo);

            var background = new CaveWall(this, "map1");
            _allGameOjbects.Add(background);

            AddCrates();

            var landingZone = new LandingZone(this, new Rectangle(3600, 1540, 300, 30));
            _allGameOjbects.Add(landingZone);

            _debugView.LoadContent(_graphicsDevice, _content);
        }