You already have the enemy found, don’t you think?
Here check and only if inAttackRange(enemy) returns true attack the enemy.
Andrei
You already have the enemy found, don’t you think?
Here check and only if inAttackRange(enemy) returns true attack the enemy.
Andrei