示例#1
0
 // Constructor
 public Engine(ConsoleWindow console, WindowsManager windowsManager,
               ILogger logger, CombatManager combatManager,
               KeyHandler keyHandler, Visualization visualization,
               Movement movement, SelectablePopUpWindow inventoryWindow,
               Random randomProvider, IMathFunctions math
               )
 {
     this.console         = console;
     this.windowsManager  = windowsManager;
     this.logger          = logger;
     this.combatManager   = combatManager;
     this.visualization   = visualization;
     this.keyHandler      = keyHandler;
     this.inventoryWindow = inventoryWindow;
     this.movement        = movement;
     this.randomProvider  = randomProvider;
     this.math            = math;
 }
 public KeyHandler(SelectablePopUpWindow inventory, CombatManager combatManager, Movement movement)
 {
     this.inventory     = inventory;
     this.combatManager = combatManager;
     this.movement      = movement;
 }