FightGameAIMain Class
From Fight Game AI Demo
A Sandcastle Documented Class Library
| FightGameAIMain Class |
User interface of the main fight screen
SystemObject SystemMarshalByRefObject
System.ComponentModelComponent
System.Windows.FormsControl
System.Windows.FormsScrollableControl
System.Windows.FormsContainerControl
System.Windows.FormsForm
FightGameAIDemo.UserInterfacesFightGameAIMain
System.ComponentModelComponent
System.Windows.FormsControl
System.Windows.FormsScrollableControl
System.Windows.FormsContainerControl
System.Windows.FormsForm
FightGameAIDemo.UserInterfacesFightGameAIMain
Namespace: FightGameAIDemo.UserInterfaces
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
C#
public class FightGameAIMain : Form
The FightGameAIMain type exposes the following members.
| Name | Description | |
|---|---|---|
| FightGameAIMain |
Initializes a new instance of the FightGameAIMain class.
|
| Name | Description | |
|---|---|---|
| btnAbort_Click |
Handles the Click event of the btnAbort control.
| |
| btnExit_Click |
Handles the Click event of the btnExit control.
| |
| btnRun_Click |
Handles the Click event of the btnRun control.
| |
| checkBox1_CheckedChanged | ||
| chkBlocking_CheckedChanged |
Handles the CheckedChanged event of the chkBlocking control.
| |
| defaultSetup |
setup the user interface with the default settings.
| |
| Dispose |
Clean up any resources being used.
(Overrides FormDispose(Boolean).) | |
| enableAlgSettings |
Enables the algorithm settings.
| |
| enableFighterSettings |
Enables the fighter settings.
| |
| enableSimSettings |
Enables the simulation settings.
| |
| FightGameAIMain_Load |
Handles the Load event of the FightGameAIMain control.
| |
| InitializeComponent |
Required method for Designer support - do not modify
the contents of this method with the code editor.
| |
| label5_Click | ||
| listBox1_SelectedIndexChanged | ||
| numericUpDown1_ValueChanged | ||
| radioButton1_CheckedChanged | ||
| rdoAlgMsg_CheckedChanged |
Handles the CheckedChanged event of the rdoAlgMsg control.
| |
| rdoClose_CheckedChanged |
Handles the CheckedChanged event of the rdoClose control.
| |
| rdoCrouching_CheckedChanged |
Handles the CheckedChanged event of the rdoCrouching control.
| |
| rdoFar_CheckedChanged |
Handles the CheckedChanged event of the rdoFar control.
| |
| rdoFightMsg_CheckedChanged |
Handles the CheckedChanged event of the rdoFightMsg control.
| |
| rdoMedium_CheckedChanged |
Handles the CheckedChanged event of the rdoMedium control.
| |
| rdoStanding_CheckedChanged |
Handles the CheckedChanged event of the rdoStanding control.
| |
| UpdateOutput |
Updates the output list box with both Algorithm and fighting event lists.
|
| Name | Description | |
|---|---|---|
| blocking |
The blocking of opponent
| |
| btnAbort | ||
| btnExit | ||
| btnRun | ||
| chkBlocking | ||
| chkRoundWait | ||
| close |
The close distance setting from interface
| |
| components |
Required designer variable.
| |
| crouching |
The crouching of opponent
| |
| far |
The far distance setting from interface
| |
| generation |
The generation
| |
| gpoAlgSettings | ||
| gpoDisplay | ||
| gpoFighterDist | ||
| gpoFighterSettings | ||
| gpoOpponentPos | ||
| gpoSimSettings | ||
| gw |
interface connecting the game world to the fight game screen
| |
| label1 | ||
| label2 | ||
| label3 | ||
| label4 | ||
| label5 | ||
| lstOutPut | ||
| medium |
The medium distance setting from interface
| |
| nudGenerations | ||
| nudIndeviduals | ||
| nudRounds | ||
| nudTornSize | ||
| rdoAlgMsg | ||
| rdoAllMsg | ||
| rdoClose | ||
| rdoCrouching | ||
| rdoFar | ||
| rdoFightMsg | ||
| rdoMedium | ||
| rdoStanding | ||
| toolTip1 |