C# Класс FightingEntity, BarCrawl

Наследование: Entity
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
damageDealt int
foeTag string
range int

Защищенные методы

Метод Описание
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

Описание методов

AttemptMove() защищенный Метод

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.
Результат bool

Start() защищенный Метод

protected Start ( ) : void
Результат void

Описание свойств

damageDealt защищенное свойство

The damage dealt. Defaults to 10.
protected int damageDealt
Результат int

foeTag защищенное свойство

The tag assigned to entities that this entity can fight.
protected string foeTag
Результат string

range защищенное свойство

The range of attacks. Defaults to 1, AKA melee.
protected int range
Результат int