Esempio n. 1
0
 public Level(Main main, string kart)
 {
     Cam = new Camera(this);
     AI = new AIKart(rand.Next(), this, weight);
     Player = new Player(this, kart);
     player.OnCreated += OnPlayerCreate;
     this.main = main;
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Console.Title = "Kross Kart Debug";

            using (Main game = new Main())
            {
                game.Run();
            }
        }
Esempio n. 3
0
 /// <summary>
 /// Multi Menu encompassing class.
 /// </summary>
 /// <param name="main">Main game class.</param>
 public Menu(Main main)
 {
     this.main = main;
     muted = main.muted;
     fullScreen = main.fullscreen;
 }