A Sandcastle Documented Class Library
AIFighter Class |
AI-Fighter sub-class of fighter class, inherits propperties from Fighter class
Inheritance Hierarchy
Namespace: FightGameAIDemo.Fighter_Classes
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class AIFighter : Fighter
The AIFighter type exposes the following members.
Constructors
Properties
Name | Description | |
---|---|---|
Attack |
Gets or sets the attack.
(Inherited from Fighter.) | |
Blocking |
Gets or sets a value indicating whether this Fighter is blocking.
(Inherited from Fighter.) | |
Crouching |
Gets or sets a value indicating whether this Fighter is crouching.
(Inherited from Fighter.) | |
Health |
Gets or sets the health of the fighter.
(Inherited from Fighter.) | |
Number |
Gets or sets the number of the fighter.
(Inherited from Fighter.) | |
Tree |
Gets or sets the tree.
| |
Type |
Gets or sets the type of the fighter.
(Inherited from Fighter.) |
Methods
Name | Description | |
---|---|---|
GenAttack |
Generates the attack of the fighter.
(Inherited from Fighter.) | |
ToString |
Returns a String that represents this instance.
(Inherited from Fighter.) |
Fields
Name | Description | |
---|---|---|
attack |
The attack
(Inherited from Fighter.) | |
health |
The health of fighter
(Inherited from Fighter.) | |
isBlocking |
The state of blocking for the fighter
(Inherited from Fighter.) | |
isCrouching |
The state of crouching for the fighter
(Inherited from Fighter.) | |
number |
The number of the fighter
(Inherited from Fighter.) | |
tree |
Used to hold the tree for AI behaviour.
| |
type |
The type of fighter
(Inherited from Fighter.) |
See Also