2024-02-12 20:52:25 -05:00
|
|
|
# @ball_catcher
|
|
|
|
|
|
|
|
A receptacle for a high energy pellet launched by a
|
2024-04-13 01:08:33 -04:00
|
|
|
[ball launcher](./ball_launcher.md). Emits a [signal](../signals.md) when a
|
2024-02-12 20:52:25 -05:00
|
|
|
ball is caught.
|
|
|
|
|
|
|
|
## Name structure
|
|
|
|
|
|
|
|
```
|
|
|
|
@ball_catcher CATCH_SIGNAL_NAME
|
|
|
|
```
|
|
|
|
|
|
|
|
## Arguments
|
|
|
|
|
|
|
|
| Name | Description |
|
|
|
|
| ------------------- | ---------------------------------------------------- |
|
|
|
|
| `CATCH_SIGNAL_NAME` | The name of the signal to emit when a ball is caught |
|
|
|
|
|
|
|
|
## Notes
|
|
|
|
|
|
|
|
When a ball collides with a ball catcher, the catcher notifies the associated
|
|
|
|
launcher (so it will not update the ball) and emits the specified signal.
|
|
|
|
|
|
|
|
Only one ball can be caught.
|