Example #1
0
 public Snowblower(Game g, Terrain m)
     : base(g)
 {
     _Mountains = m;
      _Flakes = new List<Snowflake>(Constants.MAX_FLAKES);
      rGen = new Random((int)DateTime.Now.Ticks);
 }
Example #2
0
        public QBlizzard()
        {
            graphics = new GraphicsDeviceManager(this);
             graphics.PreferredBackBufferWidth = Constants.WIN_X;
             graphics.PreferredBackBufferHeight = Constants.WIN_Y;
             graphics.PreferMultiSampling = true;

             Content.RootDirectory = "Content";
             bg = new Background(this);
             m = new Terrain(this);
             sb = new Snowblower(this, m);
        }