API Docs for: 0.1.0
Show:

zerk.game.engine.physics.joint Class

Joint

This class represents a joint in the Box2D interface.

All joints should inherit from here.

Methods

init

()

Class constructor

Properties

anchorSourceX

Float

Horizontal anchor position of the joint on the source body

anchorSourceY

Float

Vertical anchor position of the joint on the source body

anchorTargetX

Float

Horizontal anchor position of the joint on the target body

anchorTargetY

Float

Vertical anchor position of the joint on the target body

source

String

Key of the source body

sprites

Array

List of sprites

target

String

Key of the target body

type

String

Type name of the joint