bsptreetraverselistener.java
来自「Java games programing--很好的java游戏编程源码」· Java 代码 · 共 21 行
JAVA
21 行
package com.brackeen.javagamebook.bsp2D;
/**
A BSPTreeTraverseListener is an interface for a
BSPTreeTraverser to signal visited polygons.
*/
public interface BSPTreeTraverseListener {
/**
Visits a BSP polygon. Called by a BSPTreeTraverer.
If this method returns true, the BSPTreeTraverer will
stop the current traversal. Otherwise, the BSPTreeTraverer
will continue if there are polygons in the tree that
have not yet been traversed.
*/
public boolean visitPolygon(BSPPolygon poly,
boolean isBackLeaf);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?