Hitbox::intersects()
Checks if the hitbox intersects with another hitbox.
Syntax
Java
.intersects(hitbox)
Parameters
| Name | Data Type | Description |
|---|---|---|
| hitbox | Hitbox | The hitbox to check for intersection. |
Return
boolean

Checks if the hitbox intersects with another hitbox.
.intersects(hitbox)
| Name | Data Type | Description |
|---|---|---|
| hitbox | Hitbox | The hitbox to check for intersection. |
boolean