Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -120,7 +120,7 @@ namespace Content.Client.Light.Components
|
||||
/// A light behaviour that alternates between StartValue and EndValue
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class PulseBehaviour : LightBehaviourAnimationTrack
|
||||
public sealed class PulseBehaviour : LightBehaviourAnimationTrack
|
||||
{
|
||||
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
|
||||
object context, int prevKeyFrameIndex, float prevPlayingTime, float frameTime)
|
||||
@@ -175,7 +175,7 @@ namespace Content.Client.Light.Components
|
||||
/// A light behaviour that interpolates from StartValue to EndValue
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class FadeBehaviour : LightBehaviourAnimationTrack
|
||||
public sealed class FadeBehaviour : LightBehaviourAnimationTrack
|
||||
{
|
||||
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
|
||||
object context, int prevKeyFrameIndex, float prevPlayingTime, float frameTime)
|
||||
@@ -211,7 +211,7 @@ namespace Content.Client.Light.Components
|
||||
/// A light behaviour that interpolates using random values chosen between StartValue and EndValue.
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public class RandomizeBehaviour : LightBehaviourAnimationTrack
|
||||
public sealed class RandomizeBehaviour : LightBehaviourAnimationTrack
|
||||
{
|
||||
private float _randomValue1;
|
||||
private float _randomValue2;
|
||||
@@ -277,7 +277,7 @@ namespace Content.Client.Light.Components
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class ColorCycleBehaviour : LightBehaviourAnimationTrack, ISerializationHooks
|
||||
public sealed class ColorCycleBehaviour : LightBehaviourAnimationTrack, ISerializationHooks
|
||||
{
|
||||
[DataField("property")]
|
||||
[ViewVariables]
|
||||
@@ -340,14 +340,14 @@ namespace Content.Client.Light.Components
|
||||
/// A component which applies a specific behaviour to a PointLightComponent on its owner.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class LightBehaviourComponent : SharedLightBehaviourComponent, ISerializationHooks
|
||||
public sealed class LightBehaviourComponent : SharedLightBehaviourComponent, ISerializationHooks
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
|
||||
private const string KeyPrefix = nameof(LightBehaviourComponent);
|
||||
|
||||
public class AnimationContainer
|
||||
public sealed class AnimationContainer
|
||||
{
|
||||
public AnimationContainer(int key, Animation animation, LightBehaviourAnimationTrack track)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user