Attack Class

Fight Game AI Demo

Attack Class
base class for the attack types
Inheritance Hierarchy

Namespace: FightGameAIDemo.Attacks
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Attack

The Attack type exposes the following members.

Constructors
  NameDescription
Public methodAttack
Initializes a new instance of the Attack class.
Top
Properties
  NameDescription
Public propertyDamage
Gets or sets the damage of the attack.
Public propertyDistance
Gets or sets the distance of the attack.
Public propertyLowDam
Gets or sets a value indicating whether [low dam] is true or false.
Public propertyName
Gets or sets the name of the attack.
Top
Methods
  NameDescription
Public methodToString
Returns a String that represents the current Object.
Top
Fields
  NameDescription
Private fielddamage
The damage of the attack
Private fielddistance
The distance of the attack, effects damage
Private fieldlowDam
The low attack, If true attack hits while defender is crouching
Private fieldname
The name of the attack
Top
See Also