Merge pull request #8836 from reaperrr/atk-sync

Removed redundant ISync and ITick from Attack* traits
This commit is contained in:
abcdefg30
2015-07-29 19:37:24 +02:00
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ namespace OpenRA.Mods.Common.Traits
public override object Create(ActorInitializer init) { return new AttackCharge(init.Self, this); } public override object Create(ActorInitializer init) { return new AttackCharge(init.Self, this); }
} }
class AttackCharge : AttackOmni, ITick, INotifyAttack, ISync class AttackCharge : AttackOmni, ITick, INotifyAttack
{ {
readonly AttackChargeInfo info; readonly AttackChargeInfo info;

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits
public override object Create(ActorInitializer init) { return new AttackFollow(init.Self, this); } public override object Create(ActorInitializer init) { return new AttackFollow(init.Self, this); }
} }
public class AttackFollow : AttackBase, ITick, INotifyOwnerChanged, ISync public class AttackFollow : AttackBase, ITick, INotifyOwnerChanged
{ {
public Target Target { get; protected set; } public Target Target { get; protected set; }

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Common.Traits
public override object Create(ActorInitializer init) { return new AttackOmni(init.Self, this); } public override object Create(ActorInitializer init) { return new AttackOmni(init.Self, this); }
} }
class AttackOmni : AttackBase, ISync class AttackOmni : AttackBase
{ {
public AttackOmni(Actor self, AttackOmniInfo info) public AttackOmni(Actor self, AttackOmniInfo info)
: base(self, info) { } : base(self, info) { }

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Mods.Common.Traits
public override object Create(ActorInitializer init) { return new AttackTurreted(init.Self, this); } public override object Create(ActorInitializer init) { return new AttackTurreted(init.Self, this); }
} }
public class AttackTurreted : AttackFollow, ITick, ISync public class AttackTurreted : AttackFollow
{ {
protected Turreted[] turrets; protected Turreted[] turrets;