class flixel.addons.display.shapes.FlxShapeLightning extends FlxShapeLine
Available on all platforms
This creates a Lightning bolt drawn on top of a FlxSprite object. * * TODO: * I'm not currently adding enough border room to properly account for the filter effect
Instance Fields
function new(X:Float, Y:Float, A:FlxPoint, B:FlxPoint, Style:LightningStyle, ?UseDefaults:Bool = true):Void
Creates a lightning bolt! * *
X | X location of the sprite canvas * |
Y | Y location of the sprite canvas * |
A | start point, relative to canvas * |
B | end point, relative to canvas * |
Style | LightningStyle object * |
UseDefaults | use default settings to fill in style gaps? |