Initial implementation of Sandworms (WIP; Need help with audio and animations)

Using Mailaender's code as basis, this is my implementation of the sandworm behavior. It is still WIP, but you can get an idea of how it looks from the shellmap.
How do you know that 10, 10 is outside the map?