Esempio n. 1
0
 protected PhysicsLogic(World world, PhysicsLogicType type)
 {
     _type      = type;
     this.world = world;
 }
Esempio n. 2
0
 /// <summary>
 /// Restore the controller. The controller affects this body.
 /// </summary>
 /// <param name="type">The logic type.</param>
 public void RestorePhysicsLogic(PhysicsLogicType type)
 {
     controllerIgnores &= ~type;
 }
Esempio n. 3
0
 /// <summary>
 /// Determines whether this body ignores the the specified controller.
 /// </summary>
 /// <param name="type">The logic type.</param>
 /// <returns>
 ///     <c>true</c> if the body has the specified flag; otherwise, <c>false</c>.
 /// </returns>
 public bool IsPhysicsLogicIgnored(PhysicsLogicType type)
 {
     return((controllerIgnores & type) == type);
 }
 public PhysicsLogic(World world, PhysicsLogicType type)
 {
     FilterData = new FilterPhysicsLogicData(type);
     World      = world;
 }
Esempio n. 5
0
 /// <summary>
 /// Ignores the controller. The controller has no effect on this body.
 /// </summary>
 /// <param name="type">The logic type.</param>
 public void IgnorePhysicsLogic(PhysicsLogicType type)
 {
     controllerIgnores |= type;
 }
 public PhysicsLogic(World world, PhysicsLogicType type)
 {
     _type = type;
     World = world;
 }
 public FilterPhysicsLogicData(PhysicsLogicType type)
 {
     _type = type;
 }
 /// <summary>
 /// Ignores the controller. The controller has no effect on this body.
 /// </summary>
 /// <param name="type">The logic type.</param>
 public void IgnorePhysicsLogic(PhysicsLogicType type)
 {
     ControllerIgnores |= type;
 }
Esempio n. 9
0
 /// <summary>Determines whether this body ignores the specified controller.</summary>
 /// <param name="type">The logic type.</param>
 /// <returns><c>true</c> if the body has the specified flag; otherwise, <c>false</c>.</returns>
 public bool IsPhysicsLogicIgnored(PhysicsLogicType type) => (ControllerIgnores & type) == type;
 public FilterPhysicsLogicData(PhysicsLogicType type)
 {
     _type = type;
 }
 public PhysicsLogic(World world, PhysicsLogicType type)
 {
     FilterData = new FilterPhysicsLogicData(type);
     World = world;
 }
 /// <summary>
 /// Restore the controller. The controller affects this body.
 /// </summary>
 /// <param name="type">The logic type.</param>
 public void RestorePhysicsLogic(PhysicsLogicType type)
 {
     ControllerIgnores &= ~type;
 }
 /// <summary>
 /// Determines whether this body ignores the the specified controller.
 /// </summary>
 /// <param name="type">The logic type.</param>
 /// <returns>
 /// 	<c>true</c> if the body has the specified flag; otherwise, <c>false</c>.
 /// </returns>
 public bool IsPhysicsLogicIgnored(PhysicsLogicType type)
 {
     return (ControllerIgnores & type) == type;
 }
Esempio n. 14
0
 public PhysicsLogic(PhysicsWorld world, PhysicsLogicType type)
 {
     _type = type;
     World = world;
 }
Esempio n. 15
0
 public PhysicsLogic(World world, PhysicsLogicType type)
 {
     this._type = type;
     this.World = world;
 }
Esempio n. 16
0
		public PhysicsLogic( World world, PhysicsLogicType type )
		{
			_type = type;
			this.world = world;
		}