예제 #1
0
 public void Draw(cpSimpleMotor cpSimpleMotor)
 {
     //Not used
 }
예제 #2
0
		public void Draw(cpSimpleMotor cpSimpleMotor)
		{
			//Not used

		}
예제 #3
0
		protected bool Init(CCPhysicsBody a, CCPhysicsBody b, float rate)
		{
			if (!base.Init(a, b))
				return false;

			cpConstraint joint = new cpSimpleMotor(GetBodyInfo(a).Body,
												   GetBodyInfo(b).Body,
												  rate);

			if (joint == null)
				return false;

			_info.Add(joint);


			return true;
		}