Files
tbd-station-14/Content.Server/Tabletop/TabletopSetup.cs
2022-05-13 17:59:03 +10:00

15 lines
715 B
C#

namespace Content.Server.Tabletop
{
[ImplicitDataDefinitionForInheritors]
public abstract class TabletopSetup
{
/// <summary>
/// Method for setting up a tabletop. Use this to spawn the board and pieces, etc.
/// Make sure you add every entity you create to the Entities hashset in the session.
/// </summary>
/// <param name="session">Tabletop session to set up. You'll want to grab the tabletop center position here for spawning entities.</param>
/// <param name="entityManager">Dependency that can be used for spawning entities.</param>
public abstract void SetupTabletop(TabletopSession session, IEntityManager entityManager);
}
}