moving gets speed functions and vars from player and enemy