modified enemy movement and barrel to use time instead of frame rate