Exemplo n.º 1
0
        public ParticleView(GraphicsDevice device, ContentManager content, SplitterSystem  splitterSystem)
        {
            spriteBatch = new SpriteBatch(device);

            this.splitterSystem = splitterSystem;

            camera = new Camera(device);

            particleTexture = content.Load<Texture2D>("spark.png");
        }
Exemplo n.º 2
0
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     // TODO: use this.Content to load your game content here
     splitterSystem = new View.SplitterSystem();
     view = new View.ParticleView(GraphicsDevice, Content, splitterSystem);
 }