Area3D that inverts the attack classes of any turret object that it comes into contact with. Resets effects when it is destroyed.
More...
#include <beacon_powerup.hpp>
|
virtual void | _enter_tree () override |
| Connect body_entered observer.
|
|
virtual void | _exit_tree () override |
| Reset affected turrets.
|
|
void | body_entered (Node3D *node) |
| If entered body is a turret, invert targets.
|
|
Area3D that inverts the attack classes of any turret object that it comes into contact with. Resets effects when it is destroyed.
◆ _bind_methods()
void godot::BeaconPowerup::_bind_methods |
( |
| ) |
|
|
staticprivate |
Required to be a valid godot class.
◆ _enter_tree()
void godot::BeaconPowerup::_enter_tree |
( |
| ) |
|
|
overridevirtual |
Connect body_entered observer.
◆ _exit_tree()
void godot::BeaconPowerup::_exit_tree |
( |
| ) |
|
|
overridevirtual |
◆ body_entered()
void godot::BeaconPowerup::body_entered |
( |
Node3D * |
node | ) |
|
If entered body is a turret, invert targets.
◆ GDCLASS()
◆ affected
Vector<Turret*> godot::BeaconPowerup::affected {} |
|
private |
The documentation for this class was generated from the following files: