Refactor: Added explicit typing and void return types
- Introduced explicit typing to variables and functions across multiple scripts for better code clarity. - Specified 'void' as the return type for functions that do not return a value. - Removed redundant code in some scripts.
This commit is contained in:
parent
a62cd6018e
commit
2a9e78b52e
37 changed files with 216 additions and 248 deletions
|
|
@ -5,10 +5,10 @@ class_name BeeSleeping
|
|||
|
||||
var time_at_patch : float = 0.0
|
||||
|
||||
func enter(_msg := {}) -> void:
|
||||
func enter(_msg : Dictionary = {}) -> void:
|
||||
pass
|
||||
|
||||
func update(_delta) -> void:
|
||||
func update(_delta : float) -> void:
|
||||
pass
|
||||
|
||||
func physics_update(_delta : float) -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue