PocketMine
BlockIterator Class Reference
Inheritance diagram for BlockIterator:

Public Member Functions

 __construct (Level $level, Vector3 $start, Vector3 $direction, $yOffset=0, $maxDistance=0)
 
 next ()
 
 current ()
 
 rewind ()
 
 key ()
 
 valid ()
 

Detailed Description

This class performs ray tracing and iterates along blocks on a line

Member Function Documentation

current ( )
Returns
Block
Exceptions

The documentation for this class was generated from the following file: