예제 #1
0
 public XerInput(Game game, string cursorPath)
     : base(game)
 {
     this.keyboard = new XerKeyboard(game);
     this.mouse = new XerMouse(game,cursorPath);
     game.Components.Add(this);
 }
예제 #2
0
 public XerInput(Game game)
     : base(game)
 {
     this.keyboard = new XerKeyboard(game);
     this.mouse = new XerMouse(game);
     game.Components.Add(this);
 }