Class TestQueryCallback

java.lang.Object
org.jbox2d.testbed.framework.TestQueryCallback
All Implemented Interfaces:
QueryCallback

class TestQueryCallback extends java.lang.Object implements QueryCallback
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    final Vec2
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    reportFixture(Fixture argFixture)
    Called for each fixture found in the query AABB.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • point

      public final Vec2 point
    • fixture

      public Fixture fixture
  • Constructor Details

    • TestQueryCallback

      public TestQueryCallback()
  • Method Details

    • reportFixture

      public boolean reportFixture(Fixture argFixture)
      Description copied from interface: QueryCallback
      Called for each fixture found in the query AABB.
      Specified by:
      reportFixture in interface QueryCallback
      Parameters:
      argFixture -
      Returns:
      false to terminate the query.