C# Class AttackCommandSequence, Augmented_Tactics

Inheritance: Assets.Artificial_Intelligence.Character_Intelligence.Command_Sequences.CommandSequence
Afficher le fichier Open project: Kavignon/Augmented_Tactics

Protected Properties

Свойство Type Description
AttackSequence List
_count int
valuesGenerator System.Random

Méthodes publiques

Méthode Description
AddObservable ( CharacterObservable, obs ) : void
SelectTarget ( CharacterObservable, humans ) : void

Méthodes protégées

Méthode Description
CalculateDamageReduction ( CharacterBase, target ) : int
IsFacingPlayer ( ICharacter, human ) : bool
IsInsideAttackRange ( CharacterObservable, bs ) : bool

Private Methods

Méthode Description
CalculateDamageReduction ( CharacterObservable, human ) : int
CanDoExtraDamage ( ) : bool
GetIncreaseTemporaryStrength ( float strength ) : float
HarmCharacter ( CharacterObservable, human ) : void

Method Details

AddObservable() public méthode

public AddObservable ( CharacterObservable, obs ) : void
obs CharacterObservable,
Résultat void

CalculateDamageReduction() protected méthode

protected CalculateDamageReduction ( CharacterBase, target ) : int
target CharacterBase,
Résultat int

IsFacingPlayer() protected méthode

protected IsFacingPlayer ( ICharacter, human ) : bool
human ICharacter,
Résultat bool

IsInsideAttackRange() protected méthode

protected IsInsideAttackRange ( CharacterObservable, bs ) : bool
bs CharacterObservable,
Résultat bool

SelectTarget() public abstract méthode

public abstract SelectTarget ( CharacterObservable, humans ) : void
humans CharacterObservable,
Résultat void

Property Details

AttackSequence protected_oe property

protected List AttackSequence
Résultat List

_count protected_oe property

protected int _count
Résultat int

valuesGenerator protected_oe property

protected Random,System valuesGenerator
Résultat System.Random