public void initialize(ScrapHeap game, GameSettings settings, List <Entity> entities, Q3BSPLevel level) { m_game = game; m_settings = settings; m_entities = entities; m_level = level; }
// 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; }
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; }
static void Main(string[] args) { using (ScrapHeap game = new ScrapHeap()) { game.Run(); } }