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 ); } }