Remove this thing (#2346)

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth 2020-10-21 19:25:08 +11:00 committed by GitHub
parent c70066aede
commit 58f5c8e2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
using Robust.Server.Interfaces.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.Placement
{
/// <summary>
/// Helper function for spawning more complex multi-entity structures
/// </summary>
public static class SpawnHelpers
{
/// <summary>
/// Spawns a spotlight ground turret that will track any living entities in range.
/// </summary>
/// <param name="position"></param>
public static void SpawnLightTurret(EntityCoordinates position)
{
var entMan = IoCManager.Resolve<IServerEntityManager>();
var tBase = entMan.SpawnEntity("TurretBase", position);
var tTop = entMan.SpawnEntity("TurretTopLight", position);
tTop.Transform.AttachParent(tBase);
}
}
}