Moved AttackLeap to Mods.RA.Traits, moved AttackPopupTurreted to
Mods.Cnc.Traits
This commit is contained in:
@@ -70,6 +70,7 @@
|
|||||||
<Compile Include="Activities\HarvesterDockSequence.cs" />
|
<Compile Include="Activities\HarvesterDockSequence.cs" />
|
||||||
<Compile Include="CncLoadScreen.cs" />
|
<Compile Include="CncLoadScreen.cs" />
|
||||||
<Compile Include="Effects\IonCannon.cs" />
|
<Compile Include="Effects\IonCannon.cs" />
|
||||||
|
<Compile Include="Traits\AttackPopupTurreted.cs" />
|
||||||
<Compile Include="Traits\Buildings\ProductionAirdrop.cs" />
|
<Compile Include="Traits\Buildings\ProductionAirdrop.cs" />
|
||||||
<Compile Include="Traits\Buildings\TiberiumRefinery.cs" />
|
<Compile Include="Traits\Buildings\TiberiumRefinery.cs" />
|
||||||
<Compile Include="Traits\PoisonedByTiberium.cs" />
|
<Compile Include="Traits\PoisonedByTiberium.cs" />
|
||||||
|
|||||||
@@ -12,11 +12,12 @@ using System.Linq;
|
|||||||
using OpenRA.Activities;
|
using OpenRA.Activities;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Mods.Common.Traits;
|
using OpenRA.Mods.Common.Traits;
|
||||||
|
using OpenRA.Mods.RA;
|
||||||
using OpenRA.Mods.RA.Buildings;
|
using OpenRA.Mods.RA.Buildings;
|
||||||
using OpenRA.Mods.RA.Render;
|
using OpenRA.Mods.RA.Render;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Cnc.Traits
|
||||||
{
|
{
|
||||||
[Desc("Actor's turret rises from the ground before attacking.")]
|
[Desc("Actor's turret rises from the ground before attacking.")]
|
||||||
class AttackPopupTurretedInfo : AttackTurretedInfo, Requires<BuildingInfo>, Requires<RenderBuildingInfo>
|
class AttackPopupTurretedInfo : AttackTurretedInfo, Requires<BuildingInfo>, Requires<RenderBuildingInfo>
|
||||||
@@ -15,12 +15,12 @@ using OpenRA.Traits;
|
|||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
[Desc("Actor has a visual turret used to attack.")]
|
[Desc("Actor has a visual turret used to attack.")]
|
||||||
class AttackTurretedInfo : AttackFollowInfo, Requires<TurretedInfo>
|
public class AttackTurretedInfo : AttackFollowInfo, Requires<TurretedInfo>
|
||||||
{
|
{
|
||||||
public override object Create(ActorInitializer init) { return new AttackTurreted(init.self, this); }
|
public override object Create(ActorInitializer init) { return new AttackTurreted(init.self, this); }
|
||||||
}
|
}
|
||||||
|
|
||||||
class AttackTurreted : AttackFollow, ITick, ISync
|
public class AttackTurreted : AttackFollow, ITick, ISync
|
||||||
{
|
{
|
||||||
protected IEnumerable<Turreted> turrets;
|
protected IEnumerable<Turreted> turrets;
|
||||||
|
|
||||||
|
|||||||
@@ -140,10 +140,9 @@
|
|||||||
<Compile Include="Traits\AttackMove.cs" />
|
<Compile Include="Traits\AttackMove.cs" />
|
||||||
<Compile Include="Attack\AttackBase.cs" />
|
<Compile Include="Attack\AttackBase.cs" />
|
||||||
<Compile Include="Attack\AttackFrontal.cs" />
|
<Compile Include="Attack\AttackFrontal.cs" />
|
||||||
<Compile Include="Attack\AttackLeap.cs" />
|
<Compile Include="Traits\Attack\AttackLeap.cs" />
|
||||||
<Compile Include="Attack\AttackMedic.cs" />
|
<Compile Include="Attack\AttackMedic.cs" />
|
||||||
<Compile Include="Attack\AttackOmni.cs" />
|
<Compile Include="Attack\AttackOmni.cs" />
|
||||||
<Compile Include="Attack\AttackPopupTurreted.cs" />
|
|
||||||
<Compile Include="Attack\AttackCharge.cs" />
|
<Compile Include="Attack\AttackCharge.cs" />
|
||||||
<Compile Include="Attack\AttackWander.cs" />
|
<Compile Include="Attack\AttackWander.cs" />
|
||||||
<Compile Include="AutoHeal.cs" />
|
<Compile Include="AutoHeal.cs" />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using OpenRA.Activities;
|
|||||||
using OpenRA.Mods.RA.Activities;
|
using OpenRA.Mods.RA.Activities;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.RA.Traits
|
||||||
{
|
{
|
||||||
[Desc("Dogs use this attack model.")]
|
[Desc("Dogs use this attack model.")]
|
||||||
class AttackLeapInfo : AttackFrontalInfo
|
class AttackLeapInfo : AttackFrontalInfo
|
||||||
Reference in New Issue
Block a user