FuncIt/source/scenes/OVERLAY/elements/trajectories.gd
Moonshrike 3b81f718c8 funny changes
get acquainted with non-working(for now) user input
2021-11-16 00:12:43 +02:00

17 lines
357 B
GDScript

extends Control
var a_param_line = 0
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _on_LineEdit_text_entered(new_text):
a_param_line = new_text
Global.get('player').enable_trajectory_line('line')
Global.get('player').trajectory = 'line'
pass # Replace with function body.