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

@@ -5,7 +5,7 @@ using Robust.Shared.ViewVariables;
namespace Content.Server.Kudzu;
[RegisterComponent]
public class GrowingKudzuComponent : Component
public sealed class GrowingKudzuComponent : Component
{
[DataField("growthLevel")]
public int GrowthLevel = 1;

View File

@@ -7,7 +7,7 @@ using Robust.Shared.Random;
namespace Content.Server.Kudzu;
public class GrowingKudzuSystem : EntitySystem
public sealed class GrowingKudzuSystem : EntitySystem
{
[Dependency] private readonly IRobustRandom _robustRandom = default!;

View File

@@ -11,7 +11,7 @@ namespace Content.Server.Kudzu;
/// Currently does not support growing in space.
/// </summary>
[RegisterComponent, Friend(typeof(SpreaderSystem))]
public class SpreaderComponent : Component
public sealed class SpreaderComponent : Component
{
/// <summary>
/// Chance for it to grow on any given tick, after the normal growth rate-limit (if it doesn't grow, SpreaderSystem will pick another one.).

View File

@@ -13,7 +13,7 @@ using Robust.Shared.Random;
namespace Content.Server.Kudzu;
// Future work includes making the growths per interval thing not global, but instead per "group"
public class SpreaderSystem : EntitySystem
public sealed class SpreaderSystem : EntitySystem
{
[Dependency] private readonly IRobustRandom _robustRandom = default!;
[Dependency] private readonly IMapManager _mapManager = default!;