2024-07-29 21:01:36 +03:00
|
|
|
using Content.Server.Popups;
|
2024-06-13 22:55:20 +03:00
|
|
|
using Content.Shared._CP14.MagicEnergy;
|
2024-07-29 21:01:36 +03:00
|
|
|
using Robust.Shared.Random;
|
2024-06-13 22:55:20 +03:00
|
|
|
using Robust.Shared.Timing;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server._CP14.MagicEnergy;
|
|
|
|
|
|
|
|
|
|
public sealed partial class CP14MagicEnergySystem : SharedCP14MagicEnergySystem
|
|
|
|
|
{
|
2024-07-29 21:01:36 +03:00
|
|
|
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
2024-06-13 22:55:20 +03:00
|
|
|
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
|
|
|
|
[Dependency] private readonly CP14MagicEnergyCrystalSlotSystem _magicSlot = default!;
|
2024-07-29 21:01:36 +03:00
|
|
|
[Dependency] private readonly EntityLookupSystem _lookup = default!;
|
|
|
|
|
[Dependency] private readonly IRobustRandom _random = default!;
|
|
|
|
|
[Dependency] private readonly PopupSystem _popup = default!;
|
2024-06-13 22:55:20 +03:00
|
|
|
|
|
|
|
|
public override void Initialize()
|
|
|
|
|
{
|
2024-07-29 21:01:36 +03:00
|
|
|
InitializeDraw();
|
|
|
|
|
InitializeScanner();
|
2024-06-13 22:55:20 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
{
|
|
|
|
|
base.Update(frameTime);
|
|
|
|
|
|
2024-07-29 21:01:36 +03:00
|
|
|
UpdateDraw(frameTime);
|
2024-06-13 22:55:20 +03:00
|
|
|
}
|
|
|
|
|
}
|