Exemple #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public BigBallisticDemo()
     : base()
 {
     this.Graphics = new GraphicsDeviceManager(this);
     this.Content.RootDirectory = "Content";
     this.Physics = new PhysicsController();
 }
Exemple #2
0
 internal void Register(PhysicsController physicsController)
 {
     physicsController.RegisterBox(m_Box);
 }
 /// <summary>
 /// Registra el componente en el controlador de físicas
 /// </summary>
 /// <param name="controller">Controlador de físicas</param>
 internal void Register(PhysicsController controller)
 {
     controller.RegisterBox(this.m_Box);
 }