SupaLidlGame/Characters/Enemy.cs

19 lines
307 B
C#
Raw Normal View History

2022-11-10 20:29:53 -08:00
using Godot;
using System;
2023-06-03 18:21:46 -07:00
namespace SupaLidlGame.Characters;
public partial class Enemy : NPC
2022-11-10 20:29:53 -08:00
{
2023-06-03 18:21:46 -07:00
public override void _Ready()
2022-11-10 20:29:53 -08:00
{
2023-06-03 18:21:46 -07:00
Inventory.SelectedItem = Inventory.GetNode<Items.Item>("Sword");
base._Ready();
}
2022-11-19 21:21:12 -08:00
2023-06-03 18:21:46 -07:00
public override void Die()
{
base.Die();
2022-11-10 20:29:53 -08:00
}
}