Skip to content

Commit

Permalink
spacing and style
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli authored May 9, 2024
1 parent 7695b72 commit c07408a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flixel/FlxSprite.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ class FlxSprite extends FlxObject
dirty = false;
return framePixels;
}

/**
* Retrieve the midpoint of this sprite's graphic in world coordinates.
*
Expand All @@ -1219,6 +1219,7 @@ class FlxSprite extends FlxObject
rect.put();
return point;
}

/**
* Retrieves the world bounds of this sprite's graphic
* **Note:** Ignores `scrollFactor`, to get the screen position of the graphic use
Expand Down Expand Up @@ -1246,7 +1247,7 @@ class FlxSprite extends FlxObject

return rect;
}

/**
* Check and see if this object is currently on screen. Differs from `FlxObject`'s implementation
* in that it takes the actual graphic into account, not just the hitbox or bounding box or whatever.
Expand Down

0 comments on commit c07408a

Please sign in to comment.