forked from Julian/JuegoClase
7 lines
91 B
GDScript
7 lines
91 B
GDScript
extends Area2D
|
|
|
|
|
|
func _on_body_entered(body):
|
|
if body is Player:
|
|
body.takeDamage(99999)
|