Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class EmptyOrWindowValidInTile : IConstructionCondition
|
||||
public sealed class EmptyOrWindowValidInTile : IConstructionCondition
|
||||
{
|
||||
[DataField("tileNotBlocked")]
|
||||
private readonly TileNotBlocked _tileNotBlocked = new();
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class NoWindowsInTile : IConstructionCondition
|
||||
public sealed class NoWindowsInTile : IConstructionCondition
|
||||
{
|
||||
public bool Condition(EntityUid user, EntityCoordinates location, Direction direction)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class TileNotBlocked : IConstructionCondition
|
||||
public sealed class TileNotBlocked : IConstructionCondition
|
||||
{
|
||||
[DataField("filterMobs")] private bool _filterMobs = false;
|
||||
[DataField("failIfSpace")] private bool _failIfSpace = true;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class TileType : IConstructionCondition
|
||||
public sealed class TileType : IConstructionCondition
|
||||
{
|
||||
[DataField("targets")]
|
||||
public List<string> TargetTiles { get; } = new();
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public class WallmountCondition : IConstructionCondition
|
||||
public sealed class WallmountCondition : IConstructionCondition
|
||||
{
|
||||
public bool Condition(EntityUid user, EntityCoordinates location, Direction direction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user