cirnogodot/Scripts/Resources/MapResource.cs
2025-09-10 16:16:05 +02:00

24 lines
No EOL
652 B
C#

using Godot;
namespace Cirno.Scripts.Resources;
[GlobalClass]
public partial class MapResource : Resource
{
[Export] public int LevelId { get; set; }
[Export] public StringName MapId { get; set; }
[Export] public StringName MapName { get; set; }
[Export] public StringName MapDescription { get; set; }
[Export] public StringName ScenePath { get; set; }
[Export] public StringName NextMap { get; set; }
[Export] public bool WeaponsAllowed { get; set; }
[Export] public MapStartDataResource StartData { get; set; }
[Export] public MapType MapType { get; set; }
}
public enum MapType
{
Map2D,
Map3D
}