Constructor

new(bfCamPos:FlxPoint, dadCamPos:FlxPoint, ratio:Float, position:FlxPoint)

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

Inherited Variables

Defined by CancellableEvent

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

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

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

Prevents default action from occuring.

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