C# Class RecordRobot.Menus.MenuDelegates.QuitGameDelegate

A delegate used for exiting the game.
Inheritance: IMenuDelegate
ファイルを表示 Open project: scastle/EECS290_Project1

Public Methods

Method Description
QuitGameDelegate ( ) : System

Initializes a new instance of the QuitGameDelegate class.

Run ( ) : void

Runs this instance, performing the action once, and thereafter exiting the method.

Method Details

QuitGameDelegate() public method

Initializes a new instance of the QuitGameDelegate class.
public QuitGameDelegate ( ) : System
return System

Run() public method

Runs this instance, performing the action once, and thereafter exiting the method.
public Run ( ) : void
return void