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