Beispiel #1
0
        public void DoKeyUpAll()
        {
            foreach (GameControlItem item in items)
            {
                GameControlsKeyUpEventData eventData =
                    new GameControlsKeyUpEventData(item.ControlKey);

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

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