RotationEnemyExtensions extension

Created by

─▄▀─▄▀ ──▀──▀ █▀▀▀▀▀█▄ █░░░░░█─█ ▀▄▄▄▄▄▀▀

Rafaelbarbosatec on 24/03/22

on

Methods

seeAndMoveToPlayer({required dynamic closePlayer(Player), double radiusVision = 32, double margin = 10, bool runOnlyVisibleInScreen = true}) → void
Checks whether the player is within range. If so, move to it.