Пример #1
0
 public InputManagerService(Game game) //Constructor
     : base(game)
 {
     GamePad  = new gamePad();
     Keyboard = new keyboard();
     Mouse    = new mouse();
     ServiceHelper.Add <InputManagerService>(this);
     this.game = game;
 }
Пример #2
0
 public InputManagerService(Game game) //Constructor 
     : base(game) 
 { 
     GamePad = new gamePad(); 
     Keyboard = new keyboard(); 
     Mouse = new mouse();
     ServiceHelper.Add<InputManagerService>(this);
     this.game = game; 
 }