Move() public static method

public static Move ( System.Vector2 initialPosition, float directionInRads, float speed ) : System.Vector2
initialPosition System.Vector2
directionInRads float
speed float
return System.Vector2
Exemplo n.º 1
0
 public void Shift(IForwardMovablePhysicalEntity movable, float speed, float directionInRads)
 {
     movable.Position = Utils.Move(movable.Position, directionInRads, speed);
 }
Exemplo n.º 2
0
 public void Shift(IForwardMovablePhysicalEntity movable, float speed)
 {
     movable.Position = Utils.Move(movable.Position, movable.Direction, speed);
 }