using System;
using System.Collections.Generic;
using System.Text;
using Box2DX.Collision;
using Box2DX.Common;
using Box2DX.Dynamics;

namespace Nlgp1.B2DX
{
	public class CircleDef2:CircleDef
	{
		/// <summary>
		/// 円として設定します
		/// </summary>
		/// <param name="locpos">円の位置です</param>
		/// <param name="radi">半径</param>
		/// <param name="fric">摩擦</param>
		/// <param name="rest">反発</param>
		/// <param name="dens">密度</param>
		/// <param name="u"></param>
		public CircleDef2(Vec2 locpos, float radi, float fric, float rest, float dens, myUserData u)
		{
			LocalPosition = locpos;
			Radius = radi;
			Density = dens;
			Friction = fric;
			Restitution = rest;
			User = u;
			Filter = u.filter;
		}

		myUserData user;
		public myUserData User
		{
			get
			{
				return user;
			}
			set
			{
				user = value;
			}
		}
	}
}
