public CollisionContext(Body one, Body two)
		{
			this.one = one;
			this.two = two;
		}
示例#2
0
		internal void DispatchCollided(Body other)
		{
			if (OnCollided != null)
				OnCollided(other);
		}
示例#3
0
		internal void BodyCreated(int id, Body body)
		{
			bodies.Add(id, body);
		}