Checks if a vector is within the X and Y bounds of the block.
(Vec3 point)
| 838 | * Checks if a vector is within the X and Y bounds of the block. |
| 839 | */ |
| 840 | private boolean isVecInsideXYBounds(Vec3 point) |
| 841 | { |
| 842 | return point == null ? false : point.xCoord >= this.minX && point.xCoord <= this.maxX && point.yCoord >= this.minY && point.yCoord <= this.maxY; |
| 843 | } |
| 844 | |
| 845 | /** |
| 846 | * Called when this Block is destroyed by an Explosion |