documentation pass before moving on
This commit is contained in:
parent
c6923a3133
commit
ddf3590c96
17 changed files with 84 additions and 44 deletions
|
|
@ -1,6 +1,7 @@
|
|||
@abstract
|
||||
class_name BulletSpawnPattern
|
||||
extends Resource
|
||||
## Defines the placement of spawned bullets.
|
||||
|
||||
|
||||
## The amount of times to spawning this pattern for one "round".
|
||||
|
|
@ -9,6 +10,7 @@ extends Resource
|
|||
@export_range(1, 1, 1, "or_greater") var iterations: int = 1
|
||||
|
||||
|
||||
## Creates and adds bullets to the passed [BulletSet].
|
||||
func spawn_bullets(bullet_set: BulletSet, preset: BulletPreset) -> void:
|
||||
for _n in iterations:
|
||||
_spawn_bullets(bullet_set, preset)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue