1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-24 09:04:22 +00:00
hella-farm/entities/imp.gd

18 lines
275 B
GDScript3
Raw Normal View History

2024-05-02 23:37:20 +00:00
extends Entity
class_name Imp
2024-04-15 00:45:18 +00:00
2024-04-21 23:05:21 +00:00
func _on_dragged(_cursor: Cursor) -> void:
2024-05-02 23:37:20 +00:00
set_flying()
2024-04-24 02:16:09 +00:00
animator.play(&"drag_start")
2024-04-20 03:00:23 +00:00
2024-04-21 23:05:21 +00:00
func _on_fallen() -> void:
2024-05-02 23:37:20 +00:00
set_grounded()
2024-04-24 02:16:09 +00:00
animator.play(&"RESET")
2024-04-29 01:20:27 +00:00
func _on_trapped() -> void:
2024-05-02 23:37:20 +00:00
set_trapped()
2024-04-29 01:20:27 +00:00
func _on_freed() -> void:
2024-05-02 23:37:20 +00:00
set_grounded()