getAngleFromPlayer method
Get angle between enemy and player player as a base
Implementation
double getAngleFromPlayer() {
Player? player = gameRef.player;
if (player == null) return 0.0;
return getAngleFromTarget(player);
}
Get angle between enemy and player player as a base
double getAngleFromPlayer() {
Player? player = gameRef.player;
if (player == null) return 0.0;
return getAngleFromTarget(player);
}