further elaboration on bullets

This commit is contained in:
Haze Weathers 2025-12-30 23:34:19 -06:00
parent da9111bcf2
commit 393c3b670a
16 changed files with 218 additions and 29 deletions

View file

@ -0,0 +1,12 @@
class_name MultiAction
extends BulletAction
## Performs a set of [BulletAction]s in order when triggered.
## [BulletAction]s to perform when triggered.
@export var actions: Array[BulletAction]
func _perform(bullet: Bullet) -> void:
for action in actions:
action.perform(bullet)