Пример #1
0
        public RainWeather(TestsMain game, ContentManager content)
        {
            RainParticleSystem = new RainParticleSystem(game, content);
            RainParticleSystem.Initialize();

            random = new Random();
        }
Пример #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (TestsMain game = new TestsMain())
     {
         game.Run();
     }
 }
Пример #3
0
        public SnowWeather(TestsMain game, ContentManager content)
        {
            SnowParticleSystem = new SnowParticleSystem(game, content);
            SnowParticleSystem.Initialize();

            random = new Random();
        }
Пример #4
0
 public SnowParticleSystem(TestsMain game, ContentManager content)
     : base(game, content)
 {
 }
Пример #5
0
 public BaseEntity(GraphicsDevice device, ContentManager content, TestsMain game)
 {
     Device    = device;
     Content   = content;
     this.game = game;
 }
Пример #6
0
 public DynamicEntity(GraphicsDevice device, ContentManager content, TestsMain game)
     : base(device, content, game)
 {
 }
Пример #7
0
 /// <summary>
 /// Constructor.
 /// </summary>
 protected ParticleSystem3D(TestsMain game, ContentManager content)
     : base(game)
 {
     this.content = content;
     this.device  = game.device;
 }
Пример #8
0
 public Sphere(GraphicsDevice device, ContentManager content, TestsMain game)
     : base(device, content, game)
 {
 }
Пример #9
0
 public void Associate(TestsMain game)
 {
     this.game = game;
 }