Beispiel #1
0
        public Game(Difficulty difficulty)
        {
            contentManager = new ContentManager(null, "Content");
            spriteBatch = new SpriteBatch(GraphicsDeviceManager.Current.GraphicsDevice);

            maze = new Maze(difficulty);
            state = new StartState(this);
        }
Beispiel #2
0
 public void Update(WriteableBitmap _newDepthMap, WriteableBitmap _newTextureMap, State _state)
 {
     mesh.UpdateMesh(_newDepthMap, _newTextureMap);
 }