2025-04-11 18:39:39 +02:00
|
|
|
|
using Cirno.Scripts.Enums;
|
|
|
|
|
|
using Godot;
|
2025-04-11 15:53:59 +02:00
|
|
|
|
using Godot.Collections;
|
2025-04-10 19:04:06 +02:00
|
|
|
|
|
|
|
|
|
|
namespace Cirno.Scripts.Resources.Roguelite;
|
|
|
|
|
|
|
|
|
|
|
|
[GlobalClass]
|
|
|
|
|
|
public partial class RogueliteRoomResource : Resource
|
|
|
|
|
|
{
|
|
|
|
|
|
[Export] public StringName RoomName { get; set; }
|
2025-04-11 18:39:39 +02:00
|
|
|
|
[Export] public RoomType Type { get; set; } = RoomType.Regular;
|
2025-04-10 19:04:06 +02:00
|
|
|
|
[Export] public StringName ScenePath { get; set; }
|
2025-04-11 18:39:39 +02:00
|
|
|
|
[Export] public Vector2I Size { get; set; } = new(1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
[Export] public Array<Vector2I> DoorGridPositions { get; set; } = [];
|
2025-04-11 15:53:59 +02:00
|
|
|
|
|
|
|
|
|
|
[Export] public Array<EnemyResource> SpawnableEnemies { get; set; }
|
2025-04-10 19:04:06 +02:00
|
|
|
|
}
|