示例#1
0
 public EventData(EventCallback p_callback, Object p_data)
 {
     callback = p_callback;
     data = p_data;
     hotkey = Keys.None;
     system = null;
 }
示例#2
0
 public RadialMenu(GraphicsDevice p_gd, ContentManager p_content,
                     List<RadialMenuItem> p_items, Texture2D p_symbol,
                         RadialMenu p_parent, EventSystem p_eventSystem, RadialMenuSystem p_rmSystem)
 {
     m_symbol = p_symbol;
     m_items = p_items;
     m_parent = p_parent;
     //m_hotKey = Keys.None;
     m_openEvent = new EventData(p_rmSystem.requestMenu, this);
     p_eventSystem.addEvent(m_openEvent);
 }