mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 14:02:23 +02:00
14 lines
331 B
GDScript
14 lines
331 B
GDScript
extends "res://Overlap/StateMachine/MotionState.gd"
|
|
|
|
func enter():
|
|
owner.get_node("AnimationPlayer").play("MoveDown") # TODO: Replace animation
|
|
|
|
func handle_input(event):
|
|
return .handle_input(event)
|
|
|
|
func update(delta):
|
|
var input_direction = get_input_direction()
|
|
if input_direction:
|
|
# emit_signal("finished", "move")
|
|
pass
|