📄 bsptreetraverselistener.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -