Constructor

new()

Variables

bfCamPos:FlxPoint

Boyfriend's camera position.

dadCamPos:FlxPoint

Dad's camera position.

@:value(false)focusBF:Bool = false

Whenever the camera focuses BF more than dad.

position:FlxPoint

Final camera position.

@:value(0)ratio:Float = 0

Ratio for lerping between Dad and BF. 0 = Camera focuses dad 0.5 = Duet Camera 1 = Camera focuses BF

Methods

@:value({ focusBF : false, ratio : 0 })recycle(position:FlxPoint, bfCamPos:FlxPoint, dadCamPos:FlxPoint, ratio:Float = 0, focusBF:Bool = false):CamMoveEvent

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

destroy():Void

@:value({ c : false })preventDefault(c:Bool = false):Void

Prevents default action from occurring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String