Package pybox2d :: Module Box2D :: Class b2ConstantAccelController |
[hide private]
[frames] | no frames]

# type b2ConstantAccelController

source code

Applies a force every frame.

Instance Methods | [hide private]
__init__(self, *args, **kwargs) | source code
__repr__(self) | source code
__getstate__(self, world=None) Get the state of a controller | source code
__setstate__(self, data) The factory output cannot be created just yet, so store the necessary information to create it later. | source code
_pickle_finalize(data, world) Finalize a controller. | source code
__swig_destroy__(...) delete_b2ConstantAccelController(b2ConstantAccelController self) |
Inherited from b2Controller
AddBody(...) b2Controller_AddBody(b2Controller self, b2Body body) | source code
Clear(...) b2Controller_Clear(b2Controller self) | source code
Draw(...) b2Controller_Draw(b2Controller self, b2DebugDraw debugDraw) | source code
GetBodyList(self) | source code
GetNext(...) b2Controller_GetNext(b2Controller self) -> b2Controller | source code
GetType(...) b2Controller_GetType(b2Controller self) -> b2ControllerType | source code
GetWorld(...) b2Controller_GetWorld(b2Controller self) -> b2World | source code
RemoveBody(...) b2Controller_RemoveBody(b2Controller self, b2Body body) | source code
Step(...) b2Controller_Step(b2Controller self, b2TimeStep step) | source code
_GetBodyList(...) b2Controller__GetBodyList(b2Controller self) -> b2ControllerEdge | source code
__eq__(a, b) | source code
__hash__(...) b2Controller___hash__(b2Controller self) -> int32 | source code
__iter__(self) Iterates over the bodies in the controller | source code
__ne__(self, other) | source code
_asBuoyancyController(...) b2Controller__asBuoyancyController(b2Controller self) -> b2BuoyancyController | source code
_asConstantAccelController(...) b2Controller__asConstantAccelController(b2Controller self) -> b2ConstantAccelController | source code
_asConstantForceController(...) b2Controller__asConstantForceController(b2Controller self) -> b2ConstantForceController | source code
_asGravityController(...) b2Controller__asGravityController(b2Controller self) -> b2GravityController | source code
_asTensorDampingController(...) b2Controller__asTensorDampingController(b2Controller self) -> b2TensorDampingController | source code
getAsType(self) Return a typecasted version of the controller | source code
typeName(self) Return the name of the controller from:... | source code

Properties | [hide private]
| thisown The membership flag
| A b2ConstantAccelController_A_get(b2ConstantAccelController self) -> b2Vec2
Inherited from b2Controller
| bodyList
| type GetType(self) -> b2ControllerType

Method Details | [hide private]

### __init__(self, *args, **kwargs) (Constructor) | source code
Overrides: b2Controller.__init__

### __repr__(self) (Representation operator) | source code
Overrides: b2Controller.__repr__

### __getstate__(self, world=None) | source code
Get the state of a controller Overrides: no_pickle

### __setstate__(self, data) | source code
The factory output cannot be created just yet, so store the necessary information to create it later. Overrides: _generic_setstate

### _pickle_finalize(data, world) | source code
Finalize a controller. It's mostly standard, just requires a custom bodyList.

### __swig_destroy__(...) |
delete_b2ConstantAccelController(b2ConstantAccelController self) Overrides: b2Controller.__swig_destroy__

Property Details | [hide private]

### thisown The membership flag

### A b2ConstantAccelController_A_get(b2ConstantAccelController self) -> b2Vec2