logic to process base actions
refactor to logic and animation for Player
add rotation logic