- 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.
15 lines
No EOL
322 B
GDScript
15 lines
No EOL
322 B
GDScript
extends State
|
|
class_name BeeSleeping
|
|
|
|
@onready var bee : Bee = get_parent().get_parent() as Bee # I think this is bad but I dont care it works
|
|
|
|
var time_at_patch : float = 0.0
|
|
|
|
func enter(_msg : Dictionary = {}) -> void:
|
|
pass
|
|
|
|
func update(_delta : float) -> void:
|
|
pass
|
|
|
|
func physics_update(_delta : float) -> void:
|
|
pass |