move LuaPlayer and CreateVector to a separate compatibility lua file

This commit is contained in:
Evil Factory
2021-11-09 17:58:48 -03:00
parent 5c6450c6a2
commit 6cda213441
3 changed files with 0 additions and 111 deletions
@@ -22,21 +22,6 @@ namespace Barotrauma
partial class LuaSetup
{
private static Vector2 CreateVector2(float x, float y)
{
return new Vector2(x, y);
}
private static Vector3 CreateVector3(float x, float y, float z)
{
return new Vector3(x, y, z);
}
private static Vector4 CreateVector4(float x, float y, float z, float w)
{
return new Vector4(x, y, z, w);
}
partial class LuaUserData
{
public static Type GetType(string typeName)
@@ -112,11 +97,6 @@ namespace Barotrauma
}
}
public partial class LuaPlayer
{
}
public partial class LuaGame
{
LuaSetup env;