Exemplo n.º 1
0
 public SmokeView(GraphicsDevice device, ContentManager content, SmokeSimulation smokeSimulation)
 {
     this.smokeSimulation = smokeSimulation;
     spriteBatch = new SpriteBatch(device);
     camera = new Camera(device);
     smokeTexture = content.Load<Texture2D>("particlesmoke.png");
 }
Exemplo n.º 2
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     smokeSimulation = new View.SmokeSimulation();
 }