A Sandcastle Documented Class Library
Fighter Class |
Abstract base class Fighter
Inheritance Hierarchy
SystemObject FightGameAIDemo.Fighter_ClassesFighter
FightGameAIDemo.Fighter_ClassesAIFighter
FightGameAIDemo.Fighter_ClassesNonAIFighter
FightGameAIDemo.Fighter_ClassesAIFighter
FightGameAIDemo.Fighter_ClassesNonAIFighter
Namespace: FightGameAIDemo.Fighter_Classes
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public abstract class Fighter
The Fighter type exposes the following members.
Constructors
Properties
Name | Description | |
---|---|---|
Attack |
Gets or sets the attack.
| |
Blocking |
Gets or sets a value indicating whether this Fighter is blocking.
| |
Crouching |
Gets or sets a value indicating whether this Fighter is crouching.
| |
Health |
Gets or sets the health of the fighter.
| |
Number |
Gets or sets the number of the fighter.
| |
Type |
Gets or sets the type of the fighter.
|
Methods
Name | Description | |
---|---|---|
GenAttack |
Generates the attack of the fighter.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Fields
Name | Description | |
---|---|---|
attack |
The attack
| |
health |
The health of fighter
| |
isBlocking |
The state of blocking for the fighter
| |
isCrouching |
The state of crouching for the fighter
| |
number |
The number of the fighter
| |
type |
The type of fighter
|
See Also