Esempio n. 1
0
        public GameAccess()
        {
            this.Screen             = new ScreenAccess();
            this.sound              = new SoundAccess(this.Screen);
            this.InputDeviceManager = new InputDeviceManagerAccess(this.Screen);
            this.Writer             = new WriterAccess(this.Screen);

            //Check the App.config to see if it is correct
            GameConfig.ValidateConfigFile();
        }
Esempio n. 2
0
 public void SetInputDevices(InputDeviceManagerAccess NewParentInputDeviceManager, InputDeviceManagerAccess.ControllerIdType NewControllerId)
 {
     this.ParentInputDeviceManager = NewParentInputDeviceManager;
     this.ControllerId             = NewControllerId;
 }