private System.Windows.Vector getFrontBackVector(Point carPosition, Size carSize, FrontBackDirections facing) { return(new System.Windows.Vector((facing == FrontBackDirections.Left ? -carSize.Width : carSize.Width), 0)); }
private System.Windows.Vector getFrontBackVector(Point carPosition, Size carSize, FrontBackDirections facing) { return new System.Windows.Vector((facing == FrontBackDirections.Left ? -carSize.Width : carSize.Width), 0); }