Item box that can be found around the map. Triggers a pickup on the player when hit.
More...
#include <weapon_pickup.hpp>
|
| virtual void | _enter_tree () override |
| | connect body entered observer
|
| |
| void | body_entered (Node3D *node) |
| | If entered node is a CarPlayer, select a random pickup and activate it.
|
| |
|
| RandomNumberGenerator | rng |
| |
Item box that can be found around the map. Triggers a pickup on the player when hit.
◆ _bind_methods()
| void godot::WeaponPickup::_bind_methods |
( |
| ) |
|
|
staticprivate |
required to be a valid godot class
◆ _enter_tree()
| void godot::WeaponPickup::_enter_tree |
( |
| ) |
|
|
overridevirtual |
connect body entered observer
◆ body_entered()
| void godot::WeaponPickup::body_entered |
( |
Node3D * |
node | ) |
|
If entered node is a CarPlayer, select a random pickup and activate it.
◆ GDCLASS()
◆ rng
| RandomNumberGenerator godot::WeaponPickup::rng |
|
private |
The documentation for this class was generated from the following files: