コード例 #1
0
        /// <summary>
        /// Initialize the marble
        /// </summary>
        private void InitializeMarble()
        {
            marble = new Marble(ScreenManager.Game)
            {
                Position = Vector3.Zero,
                Camera   = camera,
            };

            marble.Initialize();
        }
コード例 #2
0
ファイル: GameplayScreen.cs プロジェクト: presscad/Sandbox
 private void InitializeMarble()
 {
     marble = new Marble(ScreenManager.Game as MarbleMazeGame)
     {
         Position = maze.StartPoistion,
         Camera   = camera,
         Maze     = maze
     };
     marble.Initialize();
 }
コード例 #3
0
ファイル: GameplayScreen.cs プロジェクト: elixir67/Sandbox
 private void InitializeMarble()
 {
     marble = new Marble(ScreenManager.Game as MarbleMazeGame)
     {
         Position = maze.StartPoistion,
         Camera = camera,
         Maze = maze
     };
     marble.Initialize();
 }