C# 클래스 Box2DX.Dynamics.Controllers.Controller

Base class for controllers. Controllers are a convience for encapsulating common per-step functionality.
상속: IDisposable
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_bodyCount int
_bodyList ControllerEdge

공개 메소드들

메소드 설명
AddBody ( Body body ) : void

Adds a body to the controller list.

Controller ( ) : System
Controller ( World world ) : System
Dispose ( ) : void
Draw ( DebugDraw debugDraw ) : void

Controllers override this to provide debug drawing.

RemoveBody ( Body body ) : void

Removes a body from the controller list.

Step ( TimeStep step ) : void

Controllers override this to implement per-step functionality.

비공개 메소드들

메소드 설명
GetBodyList ( ) : ControllerEdge

Get the attached body list

GetNext ( ) : Controller

Get the next body in the world's body list.

GetWorld ( ) : World

Get the parent world of this body.

메소드 상세

AddBody() 공개 메소드

Adds a body to the controller list.
public AddBody ( Body body ) : void
body Body
리턴 void

Controller() 공개 메소드

public Controller ( ) : System
리턴 System

Controller() 공개 메소드

public Controller ( World world ) : System
world World
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

Controllers override this to provide debug drawing.
public Draw ( DebugDraw debugDraw ) : void
debugDraw DebugDraw
리턴 void

RemoveBody() 공개 메소드

Removes a body from the controller list.
public RemoveBody ( Body body ) : void
body Body
리턴 void

Step() 공개 추상적인 메소드

Controllers override this to implement per-step functionality.
public abstract Step ( TimeStep step ) : void
step TimeStep
리턴 void

프로퍼티 상세

_bodyCount 보호되어 있는 프로퍼티

protected int _bodyCount
리턴 int

_bodyList 보호되어 있는 프로퍼티

protected ControllerEdge,Box2DX.Dynamics.Controllers _bodyList
리턴 ControllerEdge