Свойство | Тип | Описание | |
---|---|---|---|
_simParams | SimulationParameters | ||
_world | World |
Метод | Описание | |
---|---|---|
InitSimulationWorld ( ) : void |
Primary initialisation method. Override this method to do sub-class specific initialisation.
|
|
MouseDown ( Vec2 p ) : void |
Mouse interaction event.
|
|
MouseMove ( Vec2 p ) : void |
Mouse interaction event.
|
|
MouseUp ( ) : void |
Mouse interaction event.
|
|
SetDebugDraw ( DebugDraw debugDraw ) : void |
Sets a drawing routine. Methods on the provided object are called-back to perform drawing on each update.
|
|
SimulationWorld ( ) : Box2DX.Collision |
Construct new SimulationWorld.
|
|
Step ( ) : void |
Perform one simulation timestep; move the simulation forward by the timestep increment duration.
|
Метод | Описание | |
---|---|---|
CreateContactListener ( ) : |
Create contact listener.
|
|
InitSimulationWorld ( SimulationParameters simParams ) : void |
Initialise world with the specified SimulationParameters.
|
|
PopulateWorld ( ) : void |
Add objects to the Box2d world.
|
Метод | Описание | |
---|---|---|
CreateBox2DWorld ( ) : |
Create an empty Box2D world.
|
|
DrawMouseJoint ( ) : void |
Draw the mouse joint (user interaction via mouse events). This method can be removed to remove the dependency on OpenGL.
|
protected CreateContactListener ( ) : |
||
Результат |
protected InitSimulationWorld ( SimulationParameters simParams ) : void | ||
simParams | SimulationParameters | |
Результат | void |
protected abstract PopulateWorld ( ) : void | ||
Результат | void |
public SetDebugDraw ( DebugDraw debugDraw ) : void | ||
debugDraw | DebugDraw | |
Результат | void |
public SimulationWorld ( ) : Box2DX.Collision | ||
Результат | Box2DX.Collision |
protected SimulationParameters _simParams | ||
Результат | SimulationParameters |