Module org.dyn4j

Class BroadphaseItem<E extends Collidable<T>,​T extends Fixture>

    • Constructor Detail

      • BroadphaseItem

        public BroadphaseItem​(E collidable,
                              T fixture)
        Minimal constructor.
        Parameters:
        collidable - the collidable
        fixture - the fixture
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getCollidable

        public E getCollidable()
        Returns the Collidable.
        Returns:
        E
      • getFixture

        public T getFixture()
        Returns the Fixture.
        Returns:
        T