TabletopEmptySetup.cs 425 B

1234567891011121314
  1. using JetBrains.Annotations;
  2. namespace Content.Server.Tabletop
  3. {
  4. [UsedImplicitly]
  5. public sealed partial class TabletopEmptySetup : TabletopSetup
  6. {
  7. public override void SetupTabletop(TabletopSession session, IEntityManager entityManager)
  8. {
  9. var board = entityManager.SpawnEntity(BoardPrototype, session.Position.Offset(0, 0));
  10. session.Entities.Add(board);
  11. }
  12. }
  13. }