Why you are setting your velocity after you are using it ?
Guess you want to set it beforehand.
As the values are constant, I would recommend to set a constant speed in the constructor an add/subtract in the movement method accordingly…
Sequence is the first programming construct. In programming, statements are executed one after another. Sequence is the order in which the statements are executed.
The sequence of a program is extremely important as carrying out instructions in the wrong order leads to a program performing incorrectly.