Target
Table of Contents
- $isChangeTarget : mixed
- autoTarget() : void
- Automatically chooses the first still living enemy as target for attacks.
- changeTarget() : void
- Change target enemy.
- countEnemiesAlive() : int
- Count how much enemies are alive.
Properties
$isChangeTarget
private
mixed
$isChangeTarget
= false
Methods
autoTarget()
Automatically chooses the first still living enemy as target for attacks.
protected
autoTarget() : void
Return values
void —changeTarget()
Change target enemy.
protected
changeTarget(int $newTarget) : void
Parameters
- $newTarget : int
Return values
void —countEnemiesAlive()
Count how much enemies are alive.
protected
countEnemiesAlive() : int