Newer
Older
DungeonShooting / DungeonShooting_Godot / src / framework / generate / RoomDoor.cs
@小李xl 小李xl on 5 Jan 2023 436 bytes 房间连接, 拐角, 开发中...

using Godot;

/// <summary>
/// 房间的门
/// </summary>
public class RoomDoor
{
    /// <summary>
    /// 所在墙面方向
    /// </summary>
    public DoorDirection Direction;
    
    /// <summary>
    /// 连接的房间
    /// </summary>
    public RoomInfo ConnectRoom;

    /// <summary>
    /// 原点坐标
    /// </summary>
    public Vector2 OriginPosition;

    public bool HasFocus;

    public Vector2 Focus;
}