public void SetUp() { var services = new Hero6ServicesProvider(); gameSettings = services.GameSettings; gameSettings.WindowScale = new PointF(1.0f, 1.0f); mouseCore = services.MouseCore; mouse = new Mouse(gameSettings, mouseCore); mouse.Initialize(); mouse.Load(); }
public Mouse(IGameSettings gameSettings, IMouseCore mouseCore) { this.gameSettings = gameSettings; this.mouseCore = mouseCore; buttons = new List <MouseButton>(); }
public Mouse(IGameSettings gameSettings, IMouseCore mouseCore) { this.gameSettings = gameSettings; this.mouseCore = mouseCore; }