Object for the player's "shield" powerup. Collision area that destroys all cars that hit it.
More...
#include <shield_powerup.hpp>
|
virtual void | _enter_tree () override |
| Connect the body_entered observer.
|
|
|
void | body_entered (Node3D *body) |
| Listener for this Area3D's body_entered observer. If the entered node is an EnemyCar, damage it.
|
|
Object for the player's "shield" powerup. Collision area that destroys all cars that hit it.
◆ _bind_methods()
void godot::ShieldPowerup::_bind_methods |
( |
| ) |
|
|
staticprivate |
Required to be a valid godot class.
◆ _enter_tree()
void godot::ShieldPowerup::_enter_tree |
( |
| ) |
|
|
overridevirtual |
Connect the body_entered observer.
◆ body_entered()
void godot::ShieldPowerup::body_entered |
( |
Node3D * |
body | ) |
|
|
protected |
Listener for this Area3D's body_entered observer. If the entered node is an EnemyCar, damage it.
◆ GDCLASS()
The documentation for this class was generated from the following files: