Ejemplo n.º 1
0
        public override void OnTap(Vector2 p)
        {
            JabRectangle rect = GetRectangle();

            if (Contains(p.X, p.Y))
            {
                MenuEvent ev = new MenuEvent(MenuEvent.EventType.TAP);
                ev.sender = this;
                EventManager.Get.SendEvent(ev);
            }
        }
Ejemplo n.º 2
0
        public override void OnTap(Vector2 p)
        {
            JabRectangle rect = GetRectangle();

            if (Contains(p.X, p.Y))
            {
                MenuEvent ev = new MenuEvent(MenuEvent.EventType.TAP);
                ev.sender = this;
                EventManager.Get.SendEvent(ev);
            }
        }