Example #1
0
        private void InitializeMouse()
        {
            /** City Scene **/
            UIContainer mouseHitArea = new UIContainer();

            MouseHitAreaEventRef = mouseHitArea.ListenForMouse(new Rectangle(0, 0, ScreenWidth, ScreenHeight), new UIMouseEvent(MouseHandler));
            AddAt(0, mouseHitArea);
        }