本文整理汇总了Java中org.andengine.util.adt.bounds.IIntBounds类的典型用法代码示例。如果您正苦于以下问题:Java IIntBounds类的具体用法?Java IIntBounds怎么用?Java IIntBounds使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IIntBounds类属于org.andengine.util.adt.bounds包,在下文中一共展示了IIntBounds类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: intersects
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
public static final boolean intersects(final IIntBounds pIntBoundsA, final IIntBounds pIntBoundsB) {
return IntBoundsUtils.intersects(pIntBoundsA.getXMin(), pIntBoundsA.getYMin(), pIntBoundsA.getXMax(), pIntBoundsA.getYMax(), pIntBoundsB.getXMin(), pIntBoundsB.getYMin(), pIntBoundsB.getXMax(), pIntBoundsB.getYMax());
}
示例2: contains
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
public static final boolean contains(final IIntBounds pIntBoundsA, final IIntBounds pIntBoundsB) {
return IntBoundsUtils.contains(pIntBoundsA.getXMin(), pIntBoundsA.getYMin(), pIntBoundsA.getXMax(), pIntBoundsA.getYMax(), pIntBoundsB.getXMin(), pIntBoundsB.getYMin(), pIntBoundsB.getXMax(), pIntBoundsB.getYMax());
}
示例3: adjacent
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
public static final boolean adjacent(final IIntBounds pIntBoundsA, final IIntBounds pIntBoundsB) {
return IntBoundsUtils.adjacent(pIntBoundsA.getXMin(), pIntBoundsA.getYMin(), pIntBoundsA.getXMax(), pIntBoundsA.getYMax(), pIntBoundsB.getXMin(), pIntBoundsB.getYMin(), pIntBoundsB.getXMax(), pIntBoundsB.getYMax());
}
示例4: IntQuadTree
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
public IntQuadTree(final IIntBounds pIntBounds) {
super(pIntBounds);
}
示例5: initRoot
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
@Override
protected IntQuadTreeNode initRoot(final IIntBounds pIntBounds) {
return new IntQuadTreeNode(QuadTree.LEVEL_ROOT, pIntBounds);
}
示例6: IntQuadTreeNode
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
public IntQuadTreeNode(final int pLevel, final IIntBounds pIntBounds) {
this(pLevel, pIntBounds.getXMin(), pIntBounds.getYMin(), pIntBounds.getXMax(), pIntBounds.getYMax());
}
示例7: contains
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
@Override
protected boolean contains(final IIntBounds pIntBounds) {
return this.contains(pIntBounds.getXMin(), pIntBounds.getYMin(), pIntBounds.getXMax(), pIntBounds.getYMax());
}
示例8: intersects
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
@Override
protected boolean intersects(final IIntBounds pIntBounds) {
return IntBoundsUtils.intersects(this.mXMin, this.mYMin, this.mXMax, this.mYMax, pIntBounds.getXMin(), pIntBounds.getYMin(), pIntBounds.getXMax(), pIntBounds.getYMax());
}
示例9: containedBy
import org.andengine.util.adt.bounds.IIntBounds; //导入依赖的package包/类
@Override
protected boolean containedBy(final IIntBounds pBounds) {
return IntBoundsUtils.contains(pBounds.getXMin(), pBounds.getYMin(), pBounds.getXMax(), pBounds.getYMax(), this.mXMin, this.mYMin, this.mXMax, this.mYMax);
}