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/bullet_action.gd
Normal file
12
systems/bullets/actions/bullet_action.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@abstract
|
||||
class_name BulletAction
|
||||
extends Resource
|
||||
|
||||
|
||||
## Performs the action on a given [Bullet].
|
||||
func perform(bullet: Bullet) -> void:
|
||||
_perform(bullet)
|
||||
|
||||
|
||||
## Called to perform the action on a given [Bullet].
|
||||
@abstract func _perform(bullet: Bullet) -> void
|
||||
Loading…
Add table
Add a link
Reference in a new issue