/// <summary> /// Initialize the marble /// </summary> private void InitializeMarble() { marble = new Marble(ScreenManager.Game) { Position = Vector3.Zero, Camera = camera, }; marble.Initialize(); }
private void InitializeMarble() { marble = new Marble(ScreenManager.Game as MarbleMazeGame) { Position = maze.StartPoistion, Camera = camera, Maze = maze }; marble.Initialize(); }