You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
324 B
17 lines
324 B
extends Area2D
|
|
|
|
@export var type: String
|
|
|
|
var w: Node
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
w = get_node("/root/World")
|
|
# print(w)
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|
|
|
|
func spin():
|
|
$AnimationPlayer.play("spin")
|