JAVA position.getSurroundingCardinals() still not available in online editor


#1

position.getSurroundingCardinals() not available in online editor. Whenever try to run code console show this error :
Starting game…
Your bot failed to compile :frowning:
./MyBot.java:47: error: cannot find symbol
ArrayList positonOptions = ship.position.getSurroundingCardinals();
^
symbol: method getSurroundingCardinals()
location: variable position of type Position
1 error


#2

Thanks, @Shahed. getSurroundingCardinals() is now available in the editor. To make use of it, you will need to reset your editor files: Settings > “Delete Bot and Reset Language” > “Delete”.