/* logic for enemy movement and firing */