SpriteBaseMoveByVelocity Method |
Move this sprite according to its current velocity
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntaxpublic virtual void MoveByVelocity()
RemarksThe
oldX and
oldY properties are
set from the current position and a new position is calculated into
x and
y by adding
dx and
dy to them respectively.
See Also