FightGameAIMain Class

Fight Game AI Demo

FightGameAIMain Class
User interface of the main fight screen
Inheritance Hierarchy
SystemObject  SystemMarshalByRefObject
    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)
Syntax
C#
public class FightGameAIMain : Form

The FightGameAIMain type exposes the following members.

Constructors
  NameDescription
Public methodFightGameAIMain
Initializes a new instance of the FightGameAIMain class.
Top
Methods
  NameDescription
Private methodbtnAbort_Click
Handles the Click event of the btnAbort control.
Private methodbtnExit_Click
Handles the Click event of the btnExit control.
Private methodbtnRun_Click
Handles the Click event of the btnRun control.
Private methodcheckBox1_CheckedChanged
Private methodchkBlocking_CheckedChanged
Handles the CheckedChanged event of the chkBlocking control.
Private methoddefaultSetup
setup the user interface with the default settings.
Protected methodDispose
Clean up any resources being used.
(Overrides FormDispose(Boolean).)
Private methodenableAlgSettings
Enables the algorithm settings.
Private methodenableFighterSettings
Enables the fighter settings.
Private methodenableSimSettings
Enables the simulation settings.
Private methodFightGameAIMain_Load
Handles the Load event of the FightGameAIMain control.
Private methodInitializeComponent
Required method for Designer support - do not modify the contents of this method with the code editor.
Private methodlabel5_Click
Private methodlistBox1_SelectedIndexChanged
Private methodnumericUpDown1_ValueChanged
Private methodradioButton1_CheckedChanged
Private methodrdoAlgMsg_CheckedChanged
Handles the CheckedChanged event of the rdoAlgMsg control.
Private methodrdoClose_CheckedChanged
Handles the CheckedChanged event of the rdoClose control.
Private methodrdoCrouching_CheckedChanged
Handles the CheckedChanged event of the rdoCrouching control.
Private methodrdoFar_CheckedChanged
Handles the CheckedChanged event of the rdoFar control.
Private methodrdoFightMsg_CheckedChanged
Handles the CheckedChanged event of the rdoFightMsg control.
Private methodrdoMedium_CheckedChanged
Handles the CheckedChanged event of the rdoMedium control.
Private methodrdoStanding_CheckedChanged
Handles the CheckedChanged event of the rdoStanding control.
Public methodUpdateOutput
Updates the output list box with both Algorithm and fighting event lists.
Top
Fields
  NameDescription
Private fieldblocking
The blocking of opponent
Private fieldbtnAbort
Private fieldbtnExit
Private fieldbtnRun
Private fieldchkBlocking
Private fieldchkRoundWait
Public fieldclose
The close distance setting from interface
Private fieldcomponents
Required designer variable.
Private fieldcrouching
The crouching of opponent
Public fieldfar
The far distance setting from interface
Private fieldgeneration
The generation
Private fieldgpoAlgSettings
Private fieldgpoDisplay
Private fieldgpoFighterDist
Private fieldgpoFighterSettings
Private fieldgpoOpponentPos
Private fieldgpoSimSettings
Private fieldgw
interface connecting the game world to the fight game screen
Private fieldlabel1
Private fieldlabel2
Private fieldlabel3
Private fieldlabel4
Private fieldlabel5
Private fieldlstOutPut
Public fieldmedium
The medium distance setting from interface
Private fieldnudGenerations
Private fieldnudIndeviduals
Private fieldnudRounds
Private fieldnudTornSize
Private fieldrdoAlgMsg
Private fieldrdoAllMsg
Private fieldrdoClose
Private fieldrdoCrouching
Private fieldrdoFar
Private fieldrdoFightMsg
Private fieldrdoMedium
Private fieldrdoStanding
Private fieldtoolTip1
Top
See Also