7 lines
174 B
GDScript3
7 lines
174 B
GDScript3
|
extends Node2D
|
||
|
|
||
|
func _init_station_name_and_position(name, enName, i):
|
||
|
$StationName/Name.text = name
|
||
|
$StationName/EnName.text = enName
|
||
|
self.translate(Vector2(100 * i, 0))
|