Fix CA1852
This commit is contained in:
committed by
Pavel Penev
parent
277699cbd5
commit
f4af5c1764
@@ -17,7 +17,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
[TraitLocation(SystemActors.World | SystemActors.EditorWorld)]
|
||||
[Desc("Palette effect used for sprinkle \"animations\".")]
|
||||
class RotationPaletteEffectInfo : TraitInfo
|
||||
sealed class RotationPaletteEffectInfo : TraitInfo
|
||||
{
|
||||
[Desc("Defines to which palettes this effect should be applied to.",
|
||||
"If none specified, it applies to all palettes not explicitly excluded.")]
|
||||
@@ -45,7 +45,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public override object Create(ActorInitializer init) { return new RotationPaletteEffect(init.World, this); }
|
||||
}
|
||||
|
||||
class RotationPaletteEffect : ITick, IPaletteModifier
|
||||
sealed class RotationPaletteEffect : ITick, IPaletteModifier
|
||||
{
|
||||
readonly RotationPaletteEffectInfo info;
|
||||
readonly uint[] rotationBuffer;
|
||||
|
||||
Reference in New Issue
Block a user