yes, they canjj st!
This commit is contained in:
parent
6b92473eeb
commit
a6421235f8
22 changed files with 510 additions and 14 deletions
12
systems/bullets/behaviors/bullet_behavior.gd
Normal file
12
systems/bullets/behaviors/bullet_behavior.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@abstract
|
||||
class_name BulletBehavior
|
||||
extends Resource
|
||||
|
||||
|
||||
## Called when a bullet is spawned with this behavior in order to set up
|
||||
## behavior-specific state.
|
||||
@warning_ignore("unused_parameter")
|
||||
func init_bullet(bullet: Bullet) -> void: pass
|
||||
|
||||
## Called to process a tick of a bullet's movement.
|
||||
@abstract func process_bullet(bullet: Bullet, delta: float) -> void
|
||||
Loading…
Add table
Add a link
Reference in a new issue