2022-03-29 03:58:51 +11:00
|
|
|
using Content.Server.Arcade.Components;
|
|
|
|
|
using Content.Server.Power.Components;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Arcade;
|
|
|
|
|
|
|
|
|
|
public sealed partial class ArcadeSystem
|
|
|
|
|
{
|
|
|
|
|
private void InitializeSpaceVillain()
|
|
|
|
|
{
|
|
|
|
|
SubscribeLocalEvent<SpaceVillainArcadeComponent, PowerChangedEvent>(OnSVillainPower);
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-15 15:08:15 +11:00
|
|
|
private void OnSVillainPower(EntityUid uid, SpaceVillainArcadeComponent component, ref PowerChangedEvent args)
|
2022-03-29 03:58:51 +11:00
|
|
|
{
|
|
|
|
|
component.OnPowerStateChanged(args);
|
|
|
|
|
}
|
|
|
|
|
}
|