C# Class Protogame.PhysicsCollisionEndEvent

An event that signals that two rigid bodies have stopped colliding in the game.
Inheritance: PhysicsEvent
Afficher le fichier Open project: RedpointGames/Protogame Class Usage Examples

Méthodes publiques

Méthode Description
PhysicsCollisionEndEvent ( IGameContext gameContext, IServerContext serverContext, IUpdateContext updateContext, RigidBody body1, RigidBody body2, object owner1, object owner2 ) : Jitter.Dynamics

Initializes a new instance of a PhysicsCollisionEndEvent. This constructor is intended to be used internally within the framework.

Method Details

PhysicsCollisionEndEvent() public méthode

Initializes a new instance of a PhysicsCollisionEndEvent. This constructor is intended to be used internally within the framework.
public PhysicsCollisionEndEvent ( IGameContext gameContext, IServerContext serverContext, IUpdateContext updateContext, RigidBody body1, RigidBody body2, object owner1, object owner2 ) : Jitter.Dynamics
gameContext IGameContext The current game context, or null if running on a server.
serverContext IServerContext The current server context, or null if running on a client.
updateContext IUpdateContext The current update context.
body1 RigidBody The first body involved in the collision.
body2 RigidBody The second body involved in the collision.
owner1 object The owner of the first body.
owner2 object The owner of the second body.
Résultat Jitter.Dynamics