altered sword enemy controller to use swordpositions data structure