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