예제 #1
0
        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();
        }
예제 #2
0
파일: Mouse.cs 프로젝트: brianjlacy/Hero6
 public Mouse(IGameSettings gameSettings, IMouseCore mouseCore)
 {
     this.gameSettings = gameSettings;
     this.mouseCore    = mouseCore;
     buttons           = new List <MouseButton>();
 }
예제 #3
0
 public Mouse(IGameSettings gameSettings, IMouseCore mouseCore)
 {
     this.gameSettings = gameSettings;
     this.mouseCore    = mouseCore;
 }