Fixed inconsistent declaration modifier order
This commit is contained in:
@@ -64,7 +64,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
throw new YamlException("Facing tolerance must be in range of [0, 512], 512 covers 360 degrees.");
|
||||
}
|
||||
|
||||
public override abstract object Create(ActorInitializer init);
|
||||
public abstract override object Create(ActorInitializer init);
|
||||
}
|
||||
|
||||
public abstract class AttackBase : PausableConditionalTrait<AttackBaseInfo>, ITick, IIssueOrder, IResolveOrder, IOrderVoice, ISync
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public class AttackFrontalInfo : AttackBaseInfo, Requires<IFacingInfo>
|
||||
{
|
||||
[Desc("Tolerance for attack angle. Range [0, 512], 512 covers 360 degrees.")]
|
||||
public readonly new WAngle FacingTolerance = WAngle.Zero;
|
||||
public new readonly WAngle FacingTolerance = WAngle.Zero;
|
||||
|
||||
public override object Create(ActorInitializer init) { return new AttackFrontal(init.Self, this); }
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public class AttackGarrisoned : AttackFollow, INotifyPassengerEntered, INotifyPassengerExited, IRender
|
||||
{
|
||||
public readonly new AttackGarrisonedInfo Info;
|
||||
public new readonly AttackGarrisonedInfo Info;
|
||||
Lazy<BodyOrientation> coords;
|
||||
List<Armament> armaments;
|
||||
List<AnimationWithOffset> muzzles;
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
|
||||
class AttackSwallow : AttackFrontal
|
||||
{
|
||||
public readonly new AttackSwallowInfo Info;
|
||||
public new readonly AttackSwallowInfo Info;
|
||||
|
||||
public AttackSwallow(Actor self, AttackSwallowInfo info)
|
||||
: base(self, info)
|
||||
|
||||
Reference in New Issue
Block a user