using System.Numerics; using Robust.Shared.Map; using Robust.Shared.Player; namespace Content.Server.Tabletop { /// /// A class for storing data about a running tabletop game. /// 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 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 Entities = new(); public TabletopSession(MapId tabletopMap, Vector2 position) { Position = new MapCoordinates(position, tabletopMap); } } }