public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.CIRCLE); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.CHAIN); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.POLYGON); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.EDGE); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.POLYGON); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.EDGE); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.CHAIN); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
public Contact popContact(Fixture fixtureA, int indexA, Fixture fixtureB, int indexB) { final ShapeType type1 = fixtureA.getType(); final ShapeType type2 = fixtureB.getType(); final ContactRegister reg = contactStacks[type1.ordinal()][type2.ordinal()]; if (reg != null) { if (reg.primary) { Contact c = reg.creator.pop(); c.init(fixtureA, indexA, fixtureB, indexB); return c; } else { Contact c = reg.creator.pop(); c.init(fixtureB, indexB, fixtureA, indexA); return c; } } else { return null; } }
public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.POLYGON); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.CHAIN); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.EDGE); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.POLYGON); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.CHAIN); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.EDGE); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.CIRCLE); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
public Contact popContact(Fixture fixtureA, int indexA, Fixture fixtureB, int indexB) { final ShapeType type1 = fixtureA.getType(); final ShapeType type2 = fixtureB.getType(); final ContactRegister reg = contactStacks[type1.ordinal()][type2.ordinal()]; if (reg != null) { if (reg.primary) { Contact c = reg.creator.pop(); c.init(fixtureA, indexA, fixtureB, indexB); return c; } else { Contact c = reg.creator.pop(); c.init(fixtureB, indexB, fixtureA, indexA); return c; } } else { return null; } }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.CHAIN); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.CHAIN); assert (m_fixtureB.getType() == ShapeType.POLYGON); }
public void init(Fixture fixtureA, Fixture fixtureB) { super.init(fixtureA, 0, fixtureB, 0); assert (m_fixtureA.getType() == ShapeType.CIRCLE); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }
@Override public void init(Fixture fA, int indexA, Fixture fB, int indexB) { super.init(fA, indexA, fB, indexB); assert (m_fixtureA.getType() == ShapeType.EDGE); assert (m_fixtureB.getType() == ShapeType.CIRCLE); }