BodyBase

Static variables

@:value(new Map<Int,BodyBase>())staticBODYMAP:Map<Int, BodyBase> = new Map<Int,BodyBase>()

Variables

anchor:Vec2

read onlybody:Body

read onlygroup:NapeGroup

limits:Rect<Float>

read onlyonOut:Signal0

read onlyonPos:Signal2<Float, Float>

read onlyonRotation:Signal1<Float>

pos:Point<Float>

rotation:Float

Methods

inlineaddSpeed(v:Float):Void

collision<T>(with:T):Signal0

destroy():Void

getCacheId():Bytes

groupCollision<T>(with:T):Signal1<Int>

groupCollisionLost<T>(with:T):Signal1<Int>

inlinelookAt(x:Float, y:Float):Void

inlinelookAtPoint(p:Point<Float>):Void

lookAtVelLin(x:Float, y:Float, vel:Float):Void

inlinescale(x:Float, y:Float):Void

inlinesetSpeed(v:Float):Void

sleep():Void

wake():Void