Inheritance: GameControlsKeyEventData
示例#1
0
        public void DoKeyUpAll()
        {
            foreach (GameControlItem item in items)
            {
                GameControlsKeyUpEventData eventData =
                    new GameControlsKeyUpEventData(item.ControlKey);

                if (GameControlsEvent != null)
                {
                    GameControlsEvent(eventData);
                }
            }
        }
        public void DoKeyUpAll()
        {
            foreach( GameControlItem item in items )
            {
                GameControlsKeyUpEventData eventData =
                    new GameControlsKeyUpEventData( item.ControlKey );

                if( GameControlsEvent != null )
                    GameControlsEvent( eventData );
            }
        }