Method AttackNearestEnemy
AttackNearestEnemy(int)
Attack the nearest enemy
public bool AttackNearestEnemy(int maxDistance = 15)
Parameters
maxDistance
int
Returns
- bool
True if an enemy was attacked, false otherwise
Attack the nearest enemy
public bool AttackNearestEnemy(int maxDistance = 15)
maxDistance
intTrue if an enemy was attacked, false otherwise