using System; using Microsoft.Xna.Framework; namespace MonoGame.Extended.Tests { public class MockGameWindow : GameWindow { public void RaiseOnClientSizeChangedEvent() { OnClientSizeChanged(); } public override void BeginScreenDeviceChange(bool willBeFullScreen) { } public override void EndScreenDeviceChange(string screenDeviceName, int clientWidth, int clientHeight) { } protected override void SetSupportedOrientations(DisplayOrientation orientations) { } protected override void SetTitle(string title) { } public override bool AllowUserResizing { get; set; } public override Rectangle ClientBounds { get; } public override Point Position { get; set; } public override DisplayOrientation CurrentOrientation { get; } public override IntPtr Handle { get; } public override string ScreenDeviceName { get; } } }