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; }
static void Main(string[] args) { Console.Title = "Kross Kart Debug"; using (Main game = new Main()) { game.Run(); } }
/// <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; }