public Game(Difficulty difficulty) { contentManager = new ContentManager(null, "Content"); spriteBatch = new SpriteBatch(GraphicsDeviceManager.Current.GraphicsDevice); maze = new Maze(difficulty); state = new StartState(this); }
public void Update(WriteableBitmap _newDepthMap, WriteableBitmap _newTextureMap, State _state) { mesh.UpdateMesh(_newDepthMap, _newTextureMap); }