Пример #1
0
 static Core()
 {
     console     = new DoomConsole();
     video       = new NullVideoSystem(false);
     music       = new MusicPlayer();
     archives    = new MultiArchive();
     topstate    = null;
     stopwatch   = Stopwatch.StartNew();
     lasttime    = 0;
     coresystems = new Dictionary <string, Type>();
     PushState(new RootState());
 }
Пример #2
0
 static Core()
 {
     console = new DoomConsole();
     video = new NullVideoSystem(false);
     music = new MusicPlayer();
     archives = new MultiArchive();
     topstate = null;
     stopwatch = Stopwatch.StartNew();
     lasttime = 0;
     coresystems = new Dictionary<string,Type>();
     PushState(new RootState());
 }