Hey,
I wanna make my enemy find the best path to the player Class and also recognize the borders
Borders work like this
The movement of the enemy is just simply move(int) and when he connects with a border he turns and again moves in another direction. I want just a simple pathfinfing so the enemy follows the player around the borders etc.
if (isTouching(borderBlock.class))