Beispiel #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();
        }
Beispiel #2
0
 public void SetInputDevices(InputDeviceManagerAccess NewParentInputDeviceManager, InputDeviceManagerAccess.ControllerIdType NewControllerId)
 {
     this.ParentInputDeviceManager = NewParentInputDeviceManager;
     this.ControllerId             = NewControllerId;
 }