private System.Windows.Vector getLeftRightVector(Point carPosition, Size carSize, LeftRightDirections facing) { return(new System.Windows.Vector(0, (facing == LeftRightDirections.Down ? carSize.Height : -carSize.Height))); }
private System.Windows.Vector getLeftRightVector(Point carPosition, Size carSize, LeftRightDirections facing) { return new System.Windows.Vector(0, (facing == LeftRightDirections.Down ? carSize.Height : -carSize.Height)); }