예제 #1
0
파일: Game.cs 프로젝트: Andrusza/Pacman
        public Game(Difficulty difficulty)
        {
            contentManager = new ContentManager(null, "Content");
            spriteBatch = new SpriteBatch(GraphicsDeviceManager.Current.GraphicsDevice);

            maze = new Maze(difficulty);
            state = new StartState(this);
        }
예제 #2
0
파일: Scene.cs 프로젝트: yandol/VORS2012
 public void Update(WriteableBitmap _newDepthMap, WriteableBitmap _newTextureMap, State _state)
 {
     mesh.UpdateMesh(_newDepthMap, _newTextureMap);
 }