public I2DObject(I2DPhysicObject physicObject, I2DMaterial material,IModelo2D Modelo) { System.Diagnostics.Debug.Assert(physicObject != null); System.Diagnostics.Debug.Assert(material != null); System.Diagnostics.Debug.Assert(Modelo != null); this.Material = material; this.PhysicObject = physicObject; this.Modelo = Modelo; I2DObjectAtachtment = new List<IObject2DAtachtment>(); }
/// <summary> /// Removes the object. /// </summary> /// <param name="obj">The obj.</param> public abstract void RemoveObject(I2DPhysicObject obj);
/// <summary> /// Adds the object. /// </summary> /// <param name="obj">The obj.</param> public abstract void AddObject(I2DPhysicObject obj);