Skip to content

Commit

Permalink
don't deprecate drag and maxVelocity
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli committed Apr 16, 2024
1 parent 74d23d4 commit 14e4634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flixel/FlxObject.hx
Original file line number Diff line number Diff line change
Expand Up @@ -660,14 +660,14 @@ class FlxObject extends FlxBasic
* This isn't drag exactly, more like deceleration that is only applied
* when `acceleration` is not affecting the sprite.
*/
@:deprecated("drag is deprecated, use dragMode instead")
// @:deprecated("drag is deprecated, use dragMode instead")
public var drag(default, null):FlxPoint;

/**
* If you are using `acceleration`, you can use `maxVelocity` with it
* to cap the speed automatically (very useful!).
*/
@:deprecated("maxVelocity is deprecated, use maxSpeedMode instead")
// @:deprecated("maxVelocity is deprecated, use maxSpeedMode instead")
public var maxVelocity(default, null):FlxPoint;

/**
Expand Down

0 comments on commit 14e4634

Please sign in to comment.