public static Vector2 Round(Vector2 vector) { vector.X = MathHelper.Round(vector.X); vector.Y = MathHelper.Round(vector.Y); return vector; }