コード例 #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);
 }