Skip to content

Commit a9b0d35

Browse files
committed
change 5.10->6
1 parent b1bc64c commit a9b0d35

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

flixel/math/FlxMath.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class FlxMath
114114
*
115115
* @param lerp The ratio to lerp in 1/60th of a second
116116
* @param elapsed The amount of time that has actually passed
117-
* @since 5.10.0
117+
* @since 6.0.0
118118
*/
119119
public static function getElapsedLerp(lerp:Float, elapsed:Float):Float
120120
{

flixel/math/FlxPoint.hx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ import openfl.geom.Point;
331331

332332
/**
333333
* Adds the coordinates of another point to the coordinates of this point.
334-
* @since 5.10.0
334+
* @since 6.0.0
335335
*
336336
* @param point The point to add to this point
337337
* @return This point.
@@ -345,7 +345,7 @@ import openfl.geom.Point;
345345

346346
/**
347347
* Adds the coordinates of another point to the coordinates of this point.
348-
* @since 5.10.0
348+
* @since 6.0.0
349349
*
350350
* @param p Any Point.
351351
* @return A reference to the altered point parameter.
@@ -364,7 +364,7 @@ import openfl.geom.Point;
364364
* @param point The point to add to this point
365365
* @return This point.
366366
*/
367-
// @:deprecated("addPoint is deprecated, use add(point), instead")// 5.10.0
367+
// @:deprecated("addPoint is deprecated, use add(point), instead")// 6.0.0
368368
public inline function addPoint(point:FlxPoint):FlxPoint
369369
{
370370
return add(point);
@@ -386,7 +386,7 @@ import openfl.geom.Point;
386386

387387
/**
388388
* Subtracts the coordinates of another point from the coordinates of this point.
389-
* @since 5.10.0
389+
* @since 6.0.0
390390
*
391391
* @param point The point to subtract from this point
392392
* @return This point.
@@ -400,7 +400,7 @@ import openfl.geom.Point;
400400

401401
/**
402402
* Subtracts the coordinates of another point from the coordinates of this point.
403-
* @since 5.10.0
403+
* @since 6.0.0
404404
*
405405
* @param point The point to subtract from this point
406406
* @return This point.
@@ -417,7 +417,7 @@ import openfl.geom.Point;
417417
* @param point The point to subtract from this point
418418
* @return This point.
419419
*/
420-
// @:deprecated("subtractPoint is deprecated, use subtract(point), instead")// 5.10.0
420+
// @:deprecated("subtractPoint is deprecated, use subtract(point), instead")// 6.0.0
421421
public inline function subtractPoint(point:FlxPoint):FlxPoint
422422
{
423423
subtract(point.x, point.y);
@@ -441,7 +441,7 @@ import openfl.geom.Point;
441441

442442
/**
443443
* Scale this point.
444-
* @since 5.10.0
444+
* @since 6.0.0
445445
*
446446
* @param amount The scale coefficient
447447
* @return this point
@@ -455,7 +455,7 @@ import openfl.geom.Point;
455455

456456
/**
457457
* Scale this point by another point.
458-
* @since 5.10.0
458+
* @since 6.0.0
459459
*
460460
* @param point The x and y scale coefficient
461461
* @return this point
@@ -472,7 +472,7 @@ import openfl.geom.Point;
472472
* @param point The x and y scale coefficient
473473
* @return scaled point
474474
*/
475-
// @:deprecated("scalePoint is deprecated, use scale(point), instead")// 5.10.0
475+
// @:deprecated("scalePoint is deprecated, use scale(point), instead")// 6.0.0
476476
public inline function scalePoint(point:FlxPoint):FlxPoint
477477
{
478478
scale(point.x, point.y);
@@ -528,7 +528,7 @@ import openfl.geom.Point;
528528

529529
/**
530530
* Helper function, just copies the values from the specified Flash point.
531-
* @since 5.10.0
531+
* @since 6.0.0
532532
*
533533
* @param p Any Point.
534534
* @return A reference to itself.
@@ -544,7 +544,7 @@ import openfl.geom.Point;
544544
* @param p Any Point.
545545
* @return A reference to itself.
546546
*/
547-
// @:deprecated("copyFromFlash is deprecated, use copyFrom, instead")// 5.10.0
547+
// @:deprecated("copyFromFlash is deprecated, use copyFrom, instead")// 6.0.0
548548
public inline function copyFromFlash(p:Point):FlxPoint
549549
{
550550
return this.set(p.x, p.y);
@@ -567,7 +567,7 @@ import openfl.geom.Point;
567567

568568
/**
569569
* Helper function, just copies the values from this point to the specified Flash point.
570-
* @since 5.10.0
570+
* @since 6.0.0
571571
*
572572
* @param p Any Point.
573573
* @return A reference to the altered point parameter.
@@ -585,7 +585,7 @@ import openfl.geom.Point;
585585
* @param p Any Point.
586586
* @return A reference to the altered point parameter.
587587
*/
588-
// @:deprecated("copyToFlash is deprecated, use copyTo, instead")// 5.10.0
588+
// @:deprecated("copyToFlash is deprecated, use copyTo, instead")// 6.0.0
589589
public inline function copyToFlash(?p:Point):Point
590590
{
591591
return copyTo(p != null ? p : new Point());
@@ -721,7 +721,7 @@ import openfl.geom.Point;
721721

722722
/**
723723
* Calculate the distance to another position
724-
* @since 5.10.0
724+
* @since 6.0.0
725725
*
726726
* @return The distance between the two positions as a Float.
727727
*/
@@ -732,7 +732,7 @@ import openfl.geom.Point;
732732

733733
/**
734734
* Calculate the squared distance to another point.
735-
* @since 5.10.0
735+
* @since 6.0.0
736736
*
737737
* @param point A FlxPoint object to calculate the distance to.
738738
* @return The distance between the two points as a Float.
@@ -746,7 +746,7 @@ import openfl.geom.Point;
746746

747747
/**
748748
* Calculate the distance to another position
749-
* @since 5.10.0
749+
* @since 6.0.0
750750
*
751751
* @return The distance between the two positions as a Float.
752752
*/
@@ -1318,7 +1318,7 @@ import openfl.geom.Point;
13181318

13191319
/**
13201320
* The distance between points
1321-
* @since 5.10.0
1321+
* @since 6.0.0
13221322
*/
13231323
public overload inline extern function dist(x:Float, y:Float):Float
13241324
{
@@ -1343,7 +1343,7 @@ import openfl.geom.Point;
13431343

13441344
/**
13451345
* The squared distance between positions
1346-
* @since 5.10.0
1346+
* @since 6.0.0
13471347
*/
13481348
public overload inline extern function distSquared(x:Float, y:Float):Float
13491349
{
@@ -1665,7 +1665,7 @@ class FlxBasePoint implements IFlxPooled
16651665
/**
16661666
* A point that, once set, cannot be changed. Useful for objects
16671667
* that want to expose a readonly `x` and `y` value
1668-
* @since 5.10.0
1668+
* @since 6.0.0
16691669
*/
16701670
@:forward
16711671
@:forward.new

0 commit comments

Comments
 (0)