I have been making the enemy chase the player, but I keep getting an error which says "cannot find symbol- variable .getX();". I would appreciate any help. Thanks
Actor shark = (Actor)getWorld().getObjects(Shark.class).get(0);