Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -212,7 +212,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
}
|
||||
}
|
||||
|
||||
class FlyAttackRun : Activity
|
||||
sealed class FlyAttackRun : Activity
|
||||
{
|
||||
readonly AttackAircraft attack;
|
||||
readonly WDist exitRange;
|
||||
@@ -261,7 +261,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
}
|
||||
}
|
||||
|
||||
class StrafeAttackRun : Activity
|
||||
sealed class StrafeAttackRun : Activity
|
||||
{
|
||||
readonly AttackAircraft attackAircraft;
|
||||
readonly Aircraft aircraft;
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
yield return new TargetLineNode(destination, targetLineColor.Value);
|
||||
}
|
||||
|
||||
class ReleaseUnit : Activity
|
||||
sealed class ReleaseUnit : Activity
|
||||
{
|
||||
readonly Carryall carryall;
|
||||
readonly BodyOrientation body;
|
||||
|
||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class Demolish : Enter
|
||||
sealed class Demolish : Enter
|
||||
{
|
||||
readonly int delay;
|
||||
readonly int flashes;
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class DonateCash : Enter
|
||||
sealed class DonateCash : Enter
|
||||
{
|
||||
readonly int payload;
|
||||
readonly int playerExperience;
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class DonateExperience : Enter
|
||||
sealed class DonateExperience : Enter
|
||||
{
|
||||
readonly int level;
|
||||
readonly int playerExperience;
|
||||
|
||||
@@ -14,7 +14,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class InstantRepair : Enter
|
||||
sealed class InstantRepair : Enter
|
||||
{
|
||||
readonly InstantlyRepairsInfo info;
|
||||
|
||||
|
||||
@@ -486,7 +486,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
}
|
||||
}
|
||||
|
||||
class MoveFirstHalf : MovePart
|
||||
sealed class MoveFirstHalf : MovePart
|
||||
{
|
||||
public MoveFirstHalf(Move move, WPos from, WPos to, WAngle fromFacing, WAngle toFacing,
|
||||
WRot? fromTerrainOrientation, WRot? toTerrainOrientation, int terrainOrientationMargin, int carryoverProgress, bool shouldArc, bool movingOnGroundLayer)
|
||||
@@ -569,7 +569,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
}
|
||||
}
|
||||
|
||||
class MoveSecondHalf : MovePart
|
||||
sealed class MoveSecondHalf : MovePart
|
||||
{
|
||||
public MoveSecondHalf(Move move, WPos from, WPos to, WAngle fromFacing, WAngle toFacing,
|
||||
WRot? fromTerrainOrientation, WRot? toTerrainOrientation, int terrainOrientationMargin, int carryoverProgress, bool shouldArc, bool movingOnGroundLayer)
|
||||
|
||||
@@ -135,7 +135,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
yield return new TargetLineNode(Target.FromActor(cargo), targetLineColor.Value);
|
||||
}
|
||||
|
||||
class AttachUnit : Activity
|
||||
sealed class AttachUnit : Activity
|
||||
{
|
||||
readonly Actor cargo;
|
||||
readonly Carryable carryable;
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class RepairBridge : Enter
|
||||
sealed class RepairBridge : Enter
|
||||
{
|
||||
readonly EnterBehaviour enterBehaviour;
|
||||
readonly string speechNotification;
|
||||
|
||||
@@ -15,7 +15,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class RideTransport : Enter
|
||||
sealed class RideTransport : Enter
|
||||
{
|
||||
readonly Passenger passenger;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.Activities
|
||||
{
|
||||
class Sell : Activity
|
||||
sealed class Sell : Activity
|
||||
{
|
||||
readonly IHealth health;
|
||||
readonly SellableInfo sellableInfo;
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
}
|
||||
}
|
||||
|
||||
class IssueOrderAfterTransform : Activity
|
||||
sealed class IssueOrderAfterTransform : Activity
|
||||
{
|
||||
readonly string orderString;
|
||||
readonly Target target;
|
||||
|
||||
Reference in New Issue
Block a user