Пример #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();
     }
 }