Files
2021-08-11 00:26:20 +02:00

15 lines
202 B
C#

using Godot;
using System;
public class Ground : Area2D
{
private void _on_Ground_player_entered(object body)
{
if (body is Player)
{
Player player = body as Player;
player.die();
}
}
}