Class Bullet2PhysicsSystem
public class Bullet2PhysicsSystem : GameSystem, IDisposable, ICollectorHolder, IUpdateable, IDrawable, IContentable, IPhysicsSystem, IGameSystemBase, IComponent, IReferencable
- Inheritance
-
Bullet2PhysicsSystem
- Implements
- Inherited Members
- Extension Methods
Constructors
Bullet2PhysicsSystem(IServiceRegistry)
public Bullet2PhysicsSystem(IServiceRegistry registry)
Parameters
registry
IServiceRegistry
Methods
Create(PhysicsProcessor, PhysicsEngineFlags)
public Simulation Create(PhysicsProcessor sceneProcessor, PhysicsEngineFlags flags = PhysicsEngineFlags.None)
Parameters
sceneProcessor
PhysicsProcessorflags
PhysicsEngineFlags
Returns
Destroy()
Disposes of object resources.
protected override void Destroy()
Initialize()
This method is called when the component is added to the game.
public override void Initialize()
Remarks
This method can be used for tasks like querying for services the component needs and setting up non-graphics resources.
Release(PhysicsProcessor)
public void Release(PhysicsProcessor processor)
Parameters
processor
PhysicsProcessor
Update(GameTime)
This method is called when this game component is updated.
public override void Update(GameTime gameTime)
Parameters
gameTime
GameTimeThe current timing.