Events/RadiationStorm: Fancy radiation shader & SFX (#5612)

This commit is contained in:
E F R
2021-12-01 20:21:17 +00:00
committed by GitHub
parent dff78f239d
commit 9216d279af
20 changed files with 240 additions and 116 deletions

View File

@@ -20,6 +20,7 @@ namespace Content.Shared.Radiation
public virtual bool Decay { get; set; }
public virtual bool Draw { get; set; }
public virtual TimeSpan StartTime { get; }
public virtual TimeSpan EndTime { get; }
}
@@ -33,14 +34,16 @@ namespace Content.Shared.Radiation
public readonly float Range;
public readonly bool Draw;
public readonly bool Decay;
public readonly TimeSpan StartTime;
public readonly TimeSpan EndTime;
public RadiationPulseState(float radsPerSecond, float range, bool draw, bool decay, TimeSpan endTime)
public RadiationPulseState(float radsPerSecond, float range, bool draw, bool decay, TimeSpan startTime, TimeSpan endTime)
{
RadsPerSecond = radsPerSecond;
Range = range;
Draw = draw;
Decay = decay;
StartTime = startTime;
EndTime = endTime;
}
}