📄 bucketorder.java
字号:
package org.sunflow.core;
/**
* Creates an array of coordinates that iterate over the tiled screen. Classes
* which implement this interface are responsible for guarenteeing the entire
* screen is tiled. No attempt is made to check for duplicates or incomplete
* coverage.
*/
public interface BucketOrder {
/**
* Computes the order in which each coordinate on the screen should be
* visited.
*
* @param nbw number of buckets in the X direction
* @param nbh number of buckets in the Y direction
* @return array of coordinates with interleaved X, Y of the positions of
* buckets to be rendered.
*/
int[] getBucketSequence(int nbw, int nbh);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -