Skip to content

Commit

Permalink
FlxG: mention worldBounds in overlap() and collide() docs
Browse files Browse the repository at this point in the history
closes #2082
[skip ci]
  • Loading branch information
Gama11 committed Jun 17, 2017
1 parent 3c68ef4 commit a7c9056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flixel/FlxG.hx
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class FlxG
}

/**
* Call this function to see if one `FlxObject` overlaps another.
* Call this function to see if one `FlxObject` overlaps another within `FlxG.worldBounds`.
* Can be called with one object and one group, or two groups, or two objects,
* whatever floats your boat! For maximum performance try bundling a lot of objects
* together using a `FlxGroup` (or even bundling groups together!).
Expand Down Expand Up @@ -414,7 +414,7 @@ class FlxG
}

/**
* Call this function to see if one `FlxObject` collides with another.
* Call this function to see if one `FlxObject` collides with another within `FlxG.worldBounds`.
* Can be called with one object and one group, or two groups, or two objects,
* whatever floats your boat! For maximum performance try bundling a lot of objects
* together using a FlxGroup (or even bundling groups together!).
Expand Down

0 comments on commit a7c9056

Please sign in to comment.