Added a script template for states
This commit is contained in:
parent
b373de8f38
commit
b0b17920dc
18
script_templates/State/state.gd
Normal file
18
script_templates/State/state.gd
Normal file
@ -0,0 +1,18 @@
|
||||
# meta-name: State script
|
||||
# meta-description: A script containing the basic definition of a state
|
||||
# meta-default: true
|
||||
# meta-space-indent: 4
|
||||
|
||||
extends _BASE_
|
||||
|
||||
func enter() -> void:
|
||||
pass
|
||||
|
||||
func exit() -> void:
|
||||
pass
|
||||
|
||||
func update(_delta: float) -> void:
|
||||
pass
|
||||
|
||||
func physics_update(_delta: float) -> void:
|
||||
pass
|
Loading…
x
Reference in New Issue
Block a user