C# Class WorldControllers.Will

Afficher le fichier Open project: homoluden/fukami

Méthodes publiques

Méthode Description
AddBody ( Body body ) : void

Adds the body into internal dictionary and underlying physical engine

AddJoint ( Joint joint ) : void
AddJoints ( IList joints ) : void

Adds the joints into internal dictionary and underlying physical engine

Warning: adding joints before adding bodies will generate exception!

AddModelBodies ( IList bodies ) : void

Adds the body into internal dictionary and underlying physical engine

GetWorldSnapshot ( ) : WorldSnapshot

Creates the copy of current World State

Purge ( ) : void
RunPauseWilling ( bool setToIsRunning = null ) : void

Private Methods

Méthode Description
OnEngineUpdated ( object sender, Physics2DDotNet.UpdatedEventArgs e ) : void
Will ( ) : System

Method Details

AddBody() public méthode

Adds the body into internal dictionary and underlying physical engine
public AddBody ( Body body ) : void
body Body The Body which value will be copied
Résultat void

AddJoint() public méthode

public AddJoint ( Joint joint ) : void
joint Joint
Résultat void

AddJoints() public méthode

Adds the joints into internal dictionary and underlying physical engine
Warning: adding joints before adding bodies will generate exception!
public AddJoints ( IList joints ) : void
joints IList The list of joints to add
Résultat void

AddModelBodies() public méthode

Adds the body into internal dictionary and underlying physical engine
public AddModelBodies ( IList bodies ) : void
bodies IList The list of bodies to add
Résultat void

GetWorldSnapshot() public méthode

Creates the copy of current World State
public GetWorldSnapshot ( ) : WorldSnapshot
Résultat WorldSnapshot

Purge() public méthode

public Purge ( ) : void
Résultat void

RunPauseWilling() public méthode

public RunPauseWilling ( bool setToIsRunning = null ) : void
setToIsRunning bool
Résultat void