예제 #1
0
        public void Draw(SpriteBatch spritebatch)
        {
            spritebatch.Draw(
                TextureReference,
                new Vector2(CurrentCamera.Position.X, CurrentCamera.ViewPortHeight),
                SfondoRectangle,
                Color.White,
                0.0f,
                SfondoOrigin,
                SfondoScale,
                SpriteEffects.None,
                1.0f);

            _starfield.Draw(spritebatch);

            _nuvolificioLontano.Draw(spritebatch);
            _grattacieliFondo.Draw(spritebatch);
            _nuvolificioMedio.Draw(spritebatch);
            _grattacieliMid.Draw(spritebatch);
        }
예제 #2
0
 public void Draw(SpriteBatch spritebatch)
 {
     _grattacieliCamminabili.Draw(spritebatch);
 }