Fighter Class

Fight Game AI Demo

Fighter Class
Abstract base class Fighter
Inheritance Hierarchy

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
  NameDescription
Public methodFighter
Initializes a new instance of the Fighter class.
Top
Properties
  NameDescription
Public propertyAttack
Gets or sets the attack.
Public propertyBlocking
Gets or sets a value indicating whether this Fighter is blocking.
Public propertyCrouching
Gets or sets a value indicating whether this Fighter is crouching.
Public propertyHealth
Gets or sets the health of the fighter.
Public propertyNumber
Gets or sets the number of the fighter.
Public propertyType
Gets or sets the type of the fighter.
Top
Methods
  NameDescription
Public methodGenAttack
Generates the attack of the fighter.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Private fieldattack
The attack
Private fieldhealth
The health of fighter
Private fieldisBlocking
The state of blocking for the fighter
Private fieldisCrouching
The state of crouching for the fighter
Private fieldnumber
The number of the fighter
Private fieldtype
The type of fighter
Top
See Also