예제 #1
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;
 }
예제 #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;
 }