Movement Vector

Hello,

So I am a little unclear on what variable is being stored in movement vector and where it is coming from. My best guess is that a arrow keypress is stored in kc, which is then checked in the update function and then depending on which arrow key was pressed, it will store one of the 4 vectors from Update, in movementVector.

Is this at all correct?