示例#1
0
 public GUIImpl(NES nes) {
   this.nes = nes;
   screenScaleFactor = PrefsSingleton.get().getInt("screenScaling", 2);
   padController1 = new ControllerImpl(this, 0);
   padController2 = new ControllerImpl(this, 1);
   nes.setControllers(padController1, padController2);
   padController1.startEventQueue();
   padController2.startEventQueue();
 }