further elaboration on bullets
This commit is contained in:
parent
da9111bcf2
commit
393c3b670a
16 changed files with 218 additions and 29 deletions
7
systems/bullets/actions/despawn_action.gd
Normal file
7
systems/bullets/actions/despawn_action.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class_name DespawnAction
|
||||
extends BulletAction
|
||||
## Removes and recycles the [Bullet] when triggered.
|
||||
|
||||
|
||||
func _perform(bullet: Bullet) -> void:
|
||||
bullet.recycle()
|
||||
Loading…
Add table
Add a link
Reference in a new issue