have AttackPopupTurreted inherit AttackTurreted

This commit is contained in:
Chris Forbes
2011-08-21 21:37:12 +12:00
parent 7437e8fabb
commit 33ec2b3f5e
2 changed files with 6 additions and 11 deletions

View File

@@ -27,6 +27,7 @@ namespace OpenRA.Mods.RA
{
protected Target target;
protected Turreted turret;
protected bool buildComplete;
public AttackTurreted(Actor self) : base(self)
{
@@ -64,8 +65,7 @@ namespace OpenRA.Mods.RA
target = Target.None;
}
bool buildComplete = false;
public void BuildingComplete(Actor self) { buildComplete = true; }
public virtual void BuildingComplete(Actor self) { buildComplete = true; }
class AttackActivity : Activity
{