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 @@ namespace Content.Server.PneumaticCannon
// TODO: ideally, this and most of the actual firing code doesn't need to exist, and guns can be flexible enough
// to handle shooting things that aren't ammo (just firing any entity)
[RegisterComponent, Friend(typeof(PneumaticCannonSystem))]
public class PneumaticCannonComponent : Component
public sealed class PneumaticCannonComponent : Component
{
[ViewVariables]
public ContainerSlot GasTankSlot = default!;

View File

@@ -29,7 +29,7 @@ using Robust.Shared.Random;
namespace Content.Server.PneumaticCannon
{
public class PneumaticCannonSystem : EntitySystem
public sealed class PneumaticCannonSystem : EntitySystem
{
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly StunSystem _stun = default!;