The enemy ai code for the game Eidolon