Show / Hide Table of Contents

Class SingularityGeneratorSystem

Inheritance
System.Object
SingularityGeneratorSystem
Namespace: Content.Server.Singularity.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class SingularityGeneratorSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

SetPower(EntityUid, Single, SingularityGeneratorComponent)

Setter for Power If the singularity generator passes its threshold it also spawns a singularity.

Declaration
public void SetPower(EntityUid uid, float value, SingularityGeneratorComponent comp = null)
Parameters
Type Name Description
EntityUid uid
System.Single value

The new power level for the generator component to have.

SingularityGeneratorComponent comp

The singularity generator component.

| Improve this Doc View Source

SetThreshold(EntityUid, Single, SingularityGeneratorComponent)

Setter for Threshold If the singularity generator has passed its new threshold it also spawns a singularity.

Declaration
public void SetThreshold(EntityUid uid, float value, SingularityGeneratorComponent comp = null)
Parameters
Type Name Description
EntityUid uid
System.Single value

The new threshold power level for the generator component to have.

SingularityGeneratorComponent comp

The singularity generator component.

| Improve this Doc View Source

Shutdown()

Declaration
public override void Shutdown()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾