using Robust.Server.Player;
using Robust.Shared.Map;
namespace Content.Server.Tabletop
{
/// <summary>
/// A class for storing data about a running tabletop game.
/// </summary>
public sealed class TabletopSession
/// The center position of this session.
public readonly MapCoordinates Position;
/// The set of players currently playing this tabletop game.
public readonly Dictionary<IPlayerSession, TabletopSessionPlayerData> Players = new();
/// All entities bound to this session. If you create an entity for this session, you have to add it here.
public readonly HashSet<EntityUid> Entities = new();
public TabletopSession(MapId tabletopMap, Vector2 position)
Position = new MapCoordinates(position, tabletopMap);
}