PHP 클래스 pocketmine\utils\BlockIterator

상속: implements Iterator
파일 보기 프로젝트 열기: ClearSkyTeam/ClearSky 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Level $level, Vector3 $start, Vector3 $direction, $yOffset, $maxDistance )
current ( ) : Block
key ( )
next ( )
rewind ( )
valid ( )

비공개 메소드들

메소드 설명
blockEquals ( Block $a, Block $b )
getPosition ( $direction, $position, $blockPosition )
getXFace ( Vector3 $direction )
getXLength ( Vector3 $direction )
getXPosition ( Vector3 $direction, Vector3 $position, Block $block )
getYFace ( Vector3 $direction )
getYLength ( Vector3 $direction )
getYPosition ( Vector3 $direction, Vector3 $position, Block $block )
getZFace ( Vector3 $direction )
getZLength ( Vector3 $direction )
getZPosition ( Vector3 $direction, Vector3 $position, Block $block )
scan ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Level $level, Vector3 $start, Vector3 $direction, $yOffset, $maxDistance )
$level pocketmine\level\Level
$start pocketmine\math\Vector3
$direction pocketmine\math\Vector3

current() 공개 메소드

public current ( ) : Block
리턴 pocketmine\block\Block

key() 공개 메소드

public key ( )

next() 공개 메소드

public next ( )

rewind() 공개 메소드

public rewind ( )

valid() 공개 메소드

public valid ( )