When the player has been hit, sets the desired components of the player's velocity to the appropriate gethit velocities.
Required parameters:
Optional parameters:
x = x_flag (int)
A nonzero flag means to change that x-component of the player's velocity to the gethit x-velocity.
y = y_flag (int)
A nonzero flag means to change that y-component of the player's velocity to the gethit y-velocity.
Notes:
Obsolete
Example:
none