Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -14,7 +14,7 @@ using Color = Robust.Shared.Maths.Color;
namespace Content.Client.Parallax
{
public class ParallaxGenerator
public sealed class ParallaxGenerator
{
private readonly List<Layer> Layers = new();
@@ -69,7 +69,7 @@ namespace Content.Client.Parallax
public abstract void Apply(Image<Rgba32> bitmap);
}
private class LayerNoise : Layer
private sealed class LayerNoise : Layer
{
private readonly Color InnerColor = Color.White;
private readonly Color OuterColor = Color.Black;
@@ -197,7 +197,7 @@ namespace Content.Client.Parallax
}
}
private class LayerPoints : Layer
private sealed class LayerPoints : Layer
{
private readonly int Seed = 1234;
private readonly int PointCount = 100;