Removed BarotraumaServer's MonoGame dependency

This commit is contained in:
juanjp600
2017-06-23 14:43:43 -03:00
parent 89c92564b5
commit d6d8a5b868
45 changed files with 6385 additions and 212 deletions
@@ -42,6 +42,11 @@ namespace Barotrauma
return (float)Math.Atan2(vector.Y, vector.X);
}
public static Point ToPoint(Vector2 vector)
{
return new Point((int)vector.X,(int)vector.Y);
}
public static bool IsValid(float value)
{
return (!float.IsInfinity(value) && !float.IsNaN(value));