/// <summary>METHOD: an event to be called whenever the space bar is pressed</summary> /// <param name="getKeys">contains the number of keys that are pressed at one time</param> public virtual void GetSpacebar(Keys[] getKeys) { // CREATE: a new argument myEventArgs args = new myEventArgs(getKeys); // GIVE: the event handler this argument GetKeyboardInputDirection(this, args); }
// ADDED for if mouse input would have worked public virtual void GetMouseClick(MouseState getMouseState) { myEventArgs args = new myEventArgs(getMouseState); GetMouseClickLocation(this, args); }