moved AutoTarget/AutoHeal to ra
This commit is contained in:
@@ -209,8 +209,6 @@
|
||||
<Compile Include="Traits\Attack\AttackInfo.cs" />
|
||||
<Compile Include="Traits\Attack\AttackPlane.cs" />
|
||||
<Compile Include="Traits\Attack\AttackTurreted.cs" />
|
||||
<Compile Include="Traits\AI\AutoHeal.cs" />
|
||||
<Compile Include="Traits\AI\AutoTarget.cs" />
|
||||
<Compile Include="Traits\Modifiers\BelowUnits.cs" />
|
||||
<Compile Include="Traits\Buildable.cs" />
|
||||
<Compile Include="Traits\Building.cs" />
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
namespace OpenRA.Traits.Activities
|
||||
{
|
||||
/* non-turreted attack */
|
||||
class Attack : IActivity
|
||||
public class Attack : IActivity
|
||||
{
|
||||
Actor Target;
|
||||
int Range;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenRA.Traits
|
||||
public object Create(Actor self) { return new Cloak(self); }
|
||||
}
|
||||
|
||||
class Cloak : IRenderModifier, INotifyAttack, ITick, INotifyDamage
|
||||
public class Cloak : IRenderModifier, INotifyAttack, ITick, INotifyDamage
|
||||
{
|
||||
[Sync]
|
||||
int remainingTime;
|
||||
|
||||
@@ -19,9 +19,10 @@
|
||||
#endregion
|
||||
|
||||
using System.Linq;
|
||||
using OpenRA.Traits;
|
||||
using OpenRA.Traits.Activities;
|
||||
|
||||
namespace OpenRA.Traits
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class AutoHealInfo : TraitInfo<AutoHeal> { }
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
#endregion
|
||||
|
||||
using System.Linq;
|
||||
using System.Drawing;
|
||||
using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Traits
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class AutoTargetInfo : TraitInfo<AutoTarget>
|
||||
{
|
||||
@@ -56,6 +56,8 @@
|
||||
<Compile Include="Activities\Teleport.cs" />
|
||||
<Compile Include="Activities\UnloadCargo.cs" />
|
||||
<Compile Include="AirstrikePower.cs" />
|
||||
<Compile Include="AutoHeal.cs" />
|
||||
<Compile Include="AutoTarget.cs" />
|
||||
<Compile Include="Bridge.cs" />
|
||||
<Compile Include="BridgeLayer.cs" />
|
||||
<Compile Include="Burns.cs" />
|
||||
|
||||
Reference in New Issue
Block a user