Skip to content

Commit

Permalink
add direction to constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed May 29, 2024
1 parent ffea670 commit 5f89814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/path/FlxBasePath.hx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class FlxTypedBasePath<TTarget:FlxBasic> extends FlxBasic implements IFlxDestroy
* @param nodes An Optional array of nodes. Unlike `FlxPath`, no copy is made
* @param target The target traversing our path
*/
public function new (?nodes:Array<FlxPoint>, ?target:TTarget)
public function new (?nodes:Array<FlxPoint>, ?target:TTarget, direction = FORWARD)
{
this.nodes = nodes;
this.target = target;
Expand Down

0 comments on commit 5f89814

Please sign in to comment.