mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-24 00:54:22 +00:00
17 lines
279 B
GDScript
17 lines
279 B
GDScript
extends Entity
|
|
class_name Monocle
|
|
|
|
|
|
func _on_dragged(_cursor: Cursor) -> void:
|
|
set_flying()
|
|
animator.play(&"drag_start")
|
|
|
|
func _on_fallen() -> void:
|
|
set_grounded()
|
|
animator.play(&"RESET")
|
|
|
|
func _on_trapped() -> void:
|
|
set_trapped()
|
|
|
|
func _on_freed() -> void:
|
|
set_grounded()
|