C# Class FightingEntity, BarCrawl

Inheritance: Entity
Afficher le fichier Open project: karatesaul/BarCrawl Class Usage Examples

Protected Properties

Свойство Type Description
damageDealt int
foeTag string
range int

Méthodes protégées

Méthode Description
AttemptMove ( Move, move ) : bool

Attempts to execute the specified move. If there is something in the way, will not change position, but will change facing. In FightingEntity, this handles fighting as well as movement.

Start ( ) : void

Method Details

AttemptMove() protected méthode

Attempts to execute the specified move. If there is something in the way, will not change position, but will change facing. In FightingEntity, this handles fighting as well as movement.
protected AttemptMove ( Move, move ) : bool
move Move, The move to execute.
Résultat bool

Start() protected méthode

protected Start ( ) : void
Résultat void

Property Details

damageDealt protected_oe property

The damage dealt. Defaults to 10.
protected int damageDealt
Résultat int

foeTag protected_oe property

The tag assigned to entities that this entity can fight.
protected string foeTag
Résultat string

range protected_oe property

The range of attacks. Defaults to 1, AKA melee.
protected int range
Résultat int