Helper object for holding minimum and maximum values of various properties.
Constructor
Variables
Methods
inlineequals(otherBounds:FlxBounds<T>):Bool
Function to compare this FlxBounds to another.
Parameters:
OtherFlxBounds | The other FlxBounds to compare to this one. |
---|
Returns:
True if the FlxBounds have the same min and max value, false otherwise.
set(min:T, ?max:T):FlxBounds<T>
Handy function to set the minimum and maximum values of this Bounds object in one line.
Parameters:
min | The new minimum value of the property. |
---|---|
max | The new maximum value of the property. Optional, will be set equal to min if ignored. |
Returns:
This Bounds instance (nice for chaining stuff together).