BodyBox

Constructor

@:value({ isBullet : false, isStatic : false })new(size:Point<Float>, space:Space, ?limits:Rect<Float>, isStatic:Bool = false, isBullet:Bool = false, ?group:NapeGroup)

Variables

read onlysize:Point<Float>

Methods

Inherited Variables

Defined by BodyBase

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

Inherited Methods

Defined by BodyBase

inlineaddSpeed(v:Float):Void

collision<T>(with:T):Signal0

destroy():Void

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