Punch Class

Fight Game AI Demo

Punch Class
Sub Class of Attack, inherits propperties from Attack class
Inheritance Hierarchy
SystemObject  FightGameAIDemo.AttacksAttack
    FightGameAIDemo.AttacksPunch

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

The Punch type exposes the following members.

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

Reference

[!:FightGameAIDemo.Attack]