Made things into tools to display enemy icons on spawner marks

This commit is contained in:
Marco 2025-04-28 10:52:50 +02:00
commit c00d298443
49 changed files with 174 additions and 55 deletions

View file

@ -5,6 +5,7 @@ using Godot.Collections;
namespace Cirno.Scripts.Resources;
[GlobalClass]
[Tool]
public partial class EnemyResource : Resource
{
[Export] public StringName EnemyName { get; private set; }
@ -30,4 +31,6 @@ public partial class EnemyResource : Resource
/// </summary>
[Export] public float ResponseTime { get; private set; } = 0.5f;
[Export] public Texture2D IconSprite { get; private set; }
}