Move DetectCloaked to Mods.Common
This commit is contained in:
@@ -135,6 +135,7 @@
|
|||||||
<Compile Include="Traits\Buildings\RepairsUnits.cs" />
|
<Compile Include="Traits\Buildings\RepairsUnits.cs" />
|
||||||
<Compile Include="Traits\Buildings\FootprintUtils.cs" />
|
<Compile Include="Traits\Buildings\FootprintUtils.cs" />
|
||||||
<Compile Include="Traits\Burns.cs" />
|
<Compile Include="Traits\Burns.cs" />
|
||||||
|
<Compile Include="Traits\DetectCloaked.cs" />
|
||||||
<Compile Include="Traits\GainsExperience.cs" />
|
<Compile Include="Traits\GainsExperience.cs" />
|
||||||
<Compile Include="Traits\GivesBounty.cs" />
|
<Compile Include="Traits\GivesBounty.cs" />
|
||||||
<Compile Include="Traits\GivesExperience.cs" />
|
<Compile Include="Traits\GivesExperience.cs" />
|
||||||
|
|||||||
@@ -10,10 +10,10 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Actor can reveal Cloak actors in a specified range.")]
|
[Desc("Actor can reveal Cloak actors in a specified range.")]
|
||||||
class DetectCloakedInfo : TraitInfo<DetectCloaked>
|
public class DetectCloakedInfo : TraitInfo<DetectCloaked>
|
||||||
{
|
{
|
||||||
[Desc("Specific cloak classifications I can reveal.")]
|
[Desc("Specific cloak classifications I can reveal.")]
|
||||||
public readonly string[] CloakTypes = { "Cloak" };
|
public readonly string[] CloakTypes = { "Cloak" };
|
||||||
@@ -22,5 +22,5 @@ namespace OpenRA.Mods.RA
|
|||||||
public readonly int Range = 5;
|
public readonly int Range = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
class DetectCloaked { }
|
public class DetectCloaked { }
|
||||||
}
|
}
|
||||||
@@ -170,7 +170,6 @@
|
|||||||
<Compile Include="Traits\Crates\RevealMapCrateAction.cs" />
|
<Compile Include="Traits\Crates\RevealMapCrateAction.cs" />
|
||||||
<Compile Include="Traits\Crates\SupportPowerCrateAction.cs" />
|
<Compile Include="Traits\Crates\SupportPowerCrateAction.cs" />
|
||||||
<Compile Include="Traits\DemoTruck.cs" />
|
<Compile Include="Traits\DemoTruck.cs" />
|
||||||
<Compile Include="DetectCloaked.cs" />
|
|
||||||
<Compile Include="Effects\GpsDot.cs" />
|
<Compile Include="Effects\GpsDot.cs" />
|
||||||
<Compile Include="Effects\Parachute.cs" />
|
<Compile Include="Effects\Parachute.cs" />
|
||||||
<Compile Include="Effects\RepairIndicator.cs" />
|
<Compile Include="Effects\RepairIndicator.cs" />
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Mods.Common.Graphics;
|
using OpenRA.Mods.Common.Graphics;
|
||||||
|
using OpenRA.Mods.Common.Traits;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Traits
|
namespace OpenRA.Mods.RA.Traits
|
||||||
|
|||||||
Reference in New Issue
Block a user