using Godot;
namespace ColdMint.scripts.map.room;
///
/// The tag of the generated entity
/// 生成实体的标记
///
public interface ISpawnMarker
{
///
/// Generating entity
/// 生成实体
///
///
///Return the result of the generation. If null is returned, the generation fails.
///返回生成结果,为null则生成失败。
///
Node2D? Spawn();
///
/// Can Queue Free
/// 可释放节点吗
///
///
bool CanQueueFree();
///
/// Execute Queue Free
/// 执行释放节点
///
void DoQueueFree();
}