C# 클래스 WorldControllers.Will

파일 보기 프로젝트 열기: homoluden/fukami

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
OnEngineUpdated ( object sender, Physics2DDotNet.UpdatedEventArgs e ) : void
Will ( ) : System

메소드 상세

AddBody() 공개 메소드

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

AddJoint() 공개 메소드

public AddJoint ( Joint joint ) : void
joint Joint
리턴 void

AddJoints() 공개 메소드

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
리턴 void

AddModelBodies() 공개 메소드

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

GetWorldSnapshot() 공개 메소드

Creates the copy of current World State
public GetWorldSnapshot ( ) : WorldSnapshot
리턴 WorldSnapshot

Purge() 공개 메소드

public Purge ( ) : void
리턴 void

RunPauseWilling() 공개 메소드

public RunPauseWilling ( bool setToIsRunning = null ) : void
setToIsRunning bool
리턴 void