Ejemplo n.º 1
0
        public void ProcessInteraction(IHardware hardware)
        {
            // Update Gui Mouse Position
            PreviousMousePosition.X = MousePosition.X;
            PreviousMousePosition.Y = MousePosition.Y;

            MousePosition.X = hardware.GetMousePosition().X;
            MousePosition.Y = hardware.GetApplicationDisplaySize().Y - hardware.GetMousePosition().Y;

            ProcessMouseInputs(hardware);

            BehaviourProcessor.Process();
        }