further elaboration on bullets
This commit is contained in:
parent
da9111bcf2
commit
393c3b670a
16 changed files with 218 additions and 29 deletions
12
systems/bullets/actions/multi_action.gd
Normal file
12
systems/bullets/actions/multi_action.gd
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue