Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -133,5 +133,5 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
}
|
||||
}
|
||||
|
||||
class HideBibPreviewInit : RuntimeFlagInit { }
|
||||
sealed class HideBibPreviewInit : RuntimeFlagInit { }
|
||||
}
|
||||
|
||||
@@ -15,12 +15,12 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Cnc.Traits.Render
|
||||
{
|
||||
class WithDisguisingInfantryBodyInfo : WithInfantryBodyInfo, Requires<DisguiseInfo>
|
||||
sealed class WithDisguisingInfantryBodyInfo : WithInfantryBodyInfo, Requires<DisguiseInfo>
|
||||
{
|
||||
public override object Create(ActorInitializer init) { return new WithDisguisingInfantryBody(init, this); }
|
||||
}
|
||||
|
||||
class WithDisguisingInfantryBody : WithInfantryBody
|
||||
sealed class WithDisguisingInfantryBody : WithInfantryBody
|
||||
{
|
||||
readonly Disguise disguise;
|
||||
readonly RenderSprites rs;
|
||||
|
||||
@@ -18,7 +18,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Cnc.Traits.Render
|
||||
{
|
||||
class WithGunboatBodyInfo : WithSpriteBodyInfo, Requires<BodyOrientationInfo>, Requires<IFacingInfo>, Requires<TurretedInfo>
|
||||
sealed class WithGunboatBodyInfo : WithSpriteBodyInfo, Requires<BodyOrientationInfo>, Requires<IFacingInfo>, Requires<TurretedInfo>
|
||||
{
|
||||
[Desc("Turreted 'Turret' key to display")]
|
||||
public readonly string Turret = "primary";
|
||||
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
|
||||
public override object Create(ActorInitializer init) { return new WithGunboatBody(init, this); }
|
||||
}
|
||||
|
||||
class WithGunboatBody : WithSpriteBody, ITick
|
||||
sealed class WithGunboatBody : WithSpriteBody, ITick
|
||||
{
|
||||
readonly WithGunboatBodyInfo info;
|
||||
readonly Animation wake;
|
||||
|
||||
@@ -16,7 +16,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Cnc.Traits.Render
|
||||
{
|
||||
class WithSplitAttackPaletteInfantryBodyInfo : WithInfantryBodyInfo
|
||||
sealed class WithSplitAttackPaletteInfantryBodyInfo : WithInfantryBodyInfo
|
||||
{
|
||||
[PaletteReference]
|
||||
[Desc("Palette to use for the split attack rendering.")]
|
||||
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
|
||||
public override object Create(ActorInitializer init) { return new WithSplitAttackPaletteInfantryBody(init, this); }
|
||||
}
|
||||
|
||||
class WithSplitAttackPaletteInfantryBody : WithInfantryBody
|
||||
sealed class WithSplitAttackPaletteInfantryBody : WithInfantryBody
|
||||
{
|
||||
readonly WithSplitAttackPaletteInfantryBodyInfo info;
|
||||
readonly Animation splitAnimation;
|
||||
|
||||
Reference in New Issue
Block a user