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");
 }
示例#2
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     smokeSimulation = new View.SmokeSimulation();
 }