Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.eside.flingbox.physics.collisions
Class Arbiter

    java.lang.Object
      edu.eside.flingbox.physics.collisions.Arbiter

    public class Arbiter

extends java.lang.Object

Arbiter manages the collisions between bodies

Constructor Summary
`Arbiter()`

Method Summary
`void` | `add(Collider collider)` Adds new collider to the arbiter
`void` | `checkCollisions()` Checks collision between bodies that are managed by the arbiter.
`boolean` | `remove(Collider collider)` Removes a collider from the arbiter

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Arbiter

    public Arbiter()

Method Detail

### add

    public void add(Collider collider)

  Adds new collider to the arbiter

### remove

    public boolean remove(Collider collider)

  Removes a collider from the arbiter

### checkCollisions

    public void checkCollisions()

  Checks collision between bodies that are managed by the arbiter.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD