Initial scaffolding.
This commit is contained in:
parent
8e821ead28
commit
1200ac7e32
8 changed files with 78 additions and 1 deletions
16
scripts/base_effect.gd
Normal file
16
scripts/base_effect.gd
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
class_name BaseEffect
|
||||
extends Resource
|
||||
|
||||
@export var duration: float = 0.5
|
||||
|
||||
# Called when the effect is applied
|
||||
func start(target: Node) -> void:
|
||||
pass
|
||||
|
||||
# Called every frame (if needed)
|
||||
func process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
# Clean up any changes to the target
|
||||
func stop(target: Node) -> void:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue