
unit Pack
{
	public const uint16 ID = 0;
	
	int32 AX;
	int32 AY;
	int32 BX;
	int32 BY;
	
	//---------------------------------------------------
	//[i] function_void OS_init;
	public void OS_init()
	{
		
	}
	
	//---------------------------------------------------
	//[i] function_void SetAXAY int32 int32;
	public void SetAXAY( int32 x, int32 y )
	{
		AX = x;
		AY = y;
	}
	//---------------------------------------------------
	//[i] function_void SetBXBY int32 int32;
	public void SetBXBY( int32 x, int32 y )
	{
		BX = x;
		BY = y;
	}
	//---------------------------------------------------
	//[i] function_int32 get_x;
	public int32 get_x()
	{
		return (BX - AX) * 556 / 5000;
	}
	//---------------------------------------------------
	//[i] function_int32 get_y;
	public int32 get_y()
	{
		return (BY - AY) * 556 / 5000;
	}
}

//2017.4.9 㾭γBUG...
//0.4103-0.2514
//25.14/3600 - 41.03/3600










