예제 #1
0
 public void initialize(ScrapHeap game, GameSettings settings, List <Entity> entities, Q3BSPLevel level)
 {
     m_game     = game;
     m_settings = settings;
     m_entities = entities;
     m_level    = level;
 }
예제 #2
0
 // initialize the command interpreter
 public void initialize(ScrapHeap game, Player player, ScreenManager screenManager, ControlSystem controlSystem, GameSettings settings, GameConsole console)
 {
     m_game          = game;
     m_player        = player;
     m_screenManager = screenManager;
     m_controlSystem = controlSystem;
     m_settings      = settings;
     m_console       = console;
 }
예제 #3
0
 public void initialize(ScrapHeap game, GameSettings settings, CommandInterpreter interpreter, ControlSystem controlSystem, Menu menu, GameConsole console)
 {
     // initialize references to "global" variables
     m_game          = game;
     m_settings      = settings;
     m_interpreter   = interpreter;
     m_controlSystem = controlSystem;
     m_menu          = menu;
     m_console       = console;
 }
예제 #4
0
 static void Main(string[] args)
 {
     using (ScrapHeap game = new ScrapHeap()) {
         game.Run();
     }
 }