mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-09 22:05:53 +00:00
room positioning and door generator
This commit is contained in:
parent
59f98ebf0e
commit
5bfffc22ad
19 changed files with 571 additions and 17 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using Godot;
|
||||
using Cirno.Scripts.Enums;
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
||||
namespace Cirno.Scripts.Resources.Roguelite;
|
||||
|
|
@ -7,8 +8,11 @@ namespace Cirno.Scripts.Resources.Roguelite;
|
|||
public partial class RogueliteRoomResource : Resource
|
||||
{
|
||||
[Export] public StringName RoomName { get; set; }
|
||||
[Export] public RoomType Type { get; set; } = RoomType.Regular;
|
||||
[Export] public StringName ScenePath { get; set; }
|
||||
[Export] public Vector2 Size { get; set; } = new(20, 10);
|
||||
[Export] public Vector2I Size { get; set; } = new(1, 1);
|
||||
|
||||
[Export] public Array<Vector2I> DoorGridPositions { get; set; } = [];
|
||||
|
||||
[Export] public Array<EnemyResource> SpawnableEnemies { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue