21 lines
464 B
C#
21 lines
464 B
C#
namespace Server.Game.Dungeon;
|
|
|
|
/// <summary>
|
|
/// Runtime instance of a portal in a dungeon
|
|
/// </summary>
|
|
public class PortalInstance
|
|
{
|
|
public int Id { get; set; }
|
|
public float X { get; set; }
|
|
public float Y { get; set; }
|
|
public PortalType Type { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
|
|
public enum PortalType
|
|
{
|
|
Exit, // Return to hub
|
|
NextFloor, // Go deeper (future)
|
|
Secret // Hidden area (future)
|
|
}
|