12345678910111213141516171819 |
- extends Node2D
- # Declare member variables here. Examples:
- # var a = 2
- # var b = "text"
- # Called when the node enters the scene tree for the first time.
- func _ready():
- $Area2D.connect("body_entered",self,"on_body_enter")
- func on_body_enter():
- pass
- # Called every frame. 'delta' is the elapsed time since the previous frame.
- #func _process(delta):
- # pass
|