- getDiam() - Method in class com.matthewmichelotti.collider.HBCircle
-
Get the diameter.
- getFirst() - Method in class com.matthewmichelotti.collider.ColliderEvent
-
Returns the first HitBox involved in this event.
- getGroup() - Method in class com.matthewmichelotti.collider.HitBox
-
Returns the group that this HitBox belongs to.
- getHeight() - Method in class com.matthewmichelotti.collider.HBRect
-
Get the height.
- getInteractGroups(HitBox) - Method in interface com.matthewmichelotti.collider.InteractTester
-
Determines which groups a given HitBox is allowed to interact with.
- getNormal(HitBox) - Method in class com.matthewmichelotti.collider.HitBox
-
Returns a normal vector between the two HitBoxes.
- getOther(HitBox) - Method in class com.matthewmichelotti.collider.ColliderEvent
-
Given one of the HitBoxes involved in this event, this is a convenience method
for obtaining the other involved HitBox.
- getOverlap(HitBox) - Method in class com.matthewmichelotti.collider.HitBox
-
Returns the amount that the two HitBoxes overlap.
- getOverlap() - Method in class com.matthewmichelotti.collider.Normal
-
Returns the magnitude of the normal vector.
- getOwner() - Method in class com.matthewmichelotti.collider.HitBox
-
Returns the Object associated with this HitBox.
- getSecond() - Method in class com.matthewmichelotti.collider.ColliderEvent
-
Returns the second HitBox involved in this event.
- getTime() - Method in class com.matthewmichelotti.collider.Collider
-
Returns current time of the simulation.
- getTime() - Method in class com.matthewmichelotti.collider.ColliderEvent
-
Returns the time of the event.
- getTime() - Method in class com.matthewmichelotti.collider.HitBox
-
Returns the current time of the simulation.
- getTime() - Method in class com.matthewmichelotti.collider.util.ContProcesses
-
Returns the current time of the processes.
- getUnitX() - Method in class com.matthewmichelotti.collider.Normal
-
Returns the x-coordinate of the unit normal vector.
- getUnitY() - Method in class com.matthewmichelotti.collider.Normal
-
Returns the y-coordinate of the unit normal vector.
- getVelDiam() - Method in class com.matthewmichelotti.collider.HBCircle
-
Get the velocity of the diameter.
- getVelHeight() - Method in class com.matthewmichelotti.collider.HBRect
-
Get the velocity of the height.
- getVelWidth() - Method in class com.matthewmichelotti.collider.HBRect
-
Get the velocity of the width.
- getVelX() - Method in class com.matthewmichelotti.collider.HBPositioned
-
Get the velocity of the center x-coordinate.
- getVelY() - Method in class com.matthewmichelotti.collider.HBPositioned
-
Get the velocity of the center y-coordinate.
- getWidth() - Method in class com.matthewmichelotti.collider.HBRect
-
Get the width.
- getX() - Method in class com.matthewmichelotti.collider.HBPositioned
-
Get the center x-coordinate.
- getY() - Method in class com.matthewmichelotti.collider.HBPositioned
-
Get the center y-coordinate.
- separateBuffer - Variable in class com.matthewmichelotti.collider.ColliderOpts
-
Roughly the distance that two collided HitBoxes must be from each other before
a separated event is generated.
- separation(ColliderEvent) - Method in interface com.matthewmichelotti.collider.util.ColliderListener
-
Handle a separation event, called when two interactable HitBoxes
separate.
- setDiam(double) - Method in class com.matthewmichelotti.collider.HBCircle
-
Set the diameter.
- setDims(double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the width and height to the same value.
- setDims(double, double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the width and height.
- setGroup(int) - Method in class com.matthewmichelotti.collider.HitBox
-
Set the group that this HitBox belongs to.
- setHeight(double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the height.
- setOwner(Object) - Method in class com.matthewmichelotti.collider.HitBox
-
Set an object to be associated with this HitBox.
- setPos(double, double) - Method in class com.matthewmichelotti.collider.HBPositioned
-
Set the center position.
- setVel(double, double) - Method in class com.matthewmichelotti.collider.HBPositioned
-
Set the velocity of the center position.
- setVelDiam(double) - Method in class com.matthewmichelotti.collider.HBCircle
-
Set the velocity of the diameter.
- setVelDims(double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the velocities of the width and height to the same value.
- setVelDims(double, double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the velocities of the width and height;
- setVelHeight(double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the velocity of the height.
- setVelWidth(double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the velocity of the width.
- setVelX(double) - Method in class com.matthewmichelotti.collider.HBPositioned
-
Set the velocity of the center x-coordinate.
- setVelY(double) - Method in class com.matthewmichelotti.collider.HBPositioned
-
Set the velocity of the center y-coordinate.
- setWidth(double) - Method in class com.matthewmichelotti.collider.HBRect
-
Set the width.
- setX(double) - Method in class com.matthewmichelotti.collider.HBPositioned
-
Set the center x-coordinate.
- setY(double) - Method in class com.matthewmichelotti.collider.HBPositioned
-
Set the center y-coordinate.
- stepToTime(double) - Method in class com.matthewmichelotti.collider.Collider
-
- stepToTime(double, boolean) - Method in class com.matthewmichelotti.collider.Collider
-
Advance the simulation to the specified time.
- stepToTime(double) - Method in class com.matthewmichelotti.collider.util.ColliderProcess
-
- stepToTime(double) - Method in interface com.matthewmichelotti.collider.util.ContProcess
-
Advances this process to the given time, without resolving
any events at that time.
- stepToTime(double) - Method in class com.matthewmichelotti.collider.util.ContProcesses
-
Advances all processes to the given time, resolving all events along the way.