GameWorld Class
From Fight Game AI Demo
A Sandcastle Documented Class Library
| GameWorld Class |
Game world Class
Namespace: FightGameAIDemo
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
C#
public class GameWorld : IGameWorld
The GameWorld type exposes the following members.
| Name | Description | |
|---|---|---|
| Close |
Gets or sets a value indicating whether this GameWorld is close.
| |
| Crouched |
Gets or sets a value indicating whether this GameWorld is crouched.
| |
| Distance |
Gets or sets the distance.
| |
| Far |
Gets or sets a value indicating whether this GameWorld is far.
| |
| ListEventsAlgorithm |
Gets or sets the list events algorithm.
| |
| ListOfEvents |
Gets or sets the list of events.
| |
| Medium |
Gets or sets a value indicating whether this GameWorld is medium.
| |
| Population_size |
Gets or sets the population_size.
|
| Name | Description | |
|---|---|---|
| HasAIDied |
Determines whether [has ai died].
| |
| HasNonAIDied |
Determines whether [has non ai died].
| |
| nextRound |
Move onto the nexts round.
| |
| RunFight |
Runs the fight.
| |
| SetUp |
Set up fighters for fight.
| |
| triggerEvolution |
Triggers the evolution.
| |
| wAttack |
handles the attacks in world calss.
|
| Name | Description | |
|---|---|---|
| AiFighter |
The ai fighter
| |
| close |
The close distance setting
| |
| crouched |
The crouched position setting
| |
| distance |
The distance between fighters
| |
| far |
The far distance setting
| |
| fighterCounter |
The fighter counter
| |
| fitness |
The fitness
| |
| gp | ||
| lc |
the loop counter to prevent infinet loop during fight
| |
| listEventsAlgorithm |
The of list events for algorithm
| |
| listOfEvents |
The list of events for the fight
| |
| medium |
The medium distance setting
| |
| NoAiFighter |
The no ai fighter
| |
| population_size |
The population_size
| |
| roundNum |
The round number
| |
| total_Damage |
The total_ damage
| |
| treeCounter |
The tree counter
|