Split EngineerRepairable to its own file.

This commit is contained in:
Mustafa Alperen Seki
2019-04-13 20:25:12 +03:00
committed by reaperrr
parent 2463b2ed43
commit 8752e76d1e
3 changed files with 21 additions and 5 deletions

View File

@@ -116,6 +116,7 @@
<Compile Include="Activities\WaitForTransport.cs" /> <Compile Include="Activities\WaitForTransport.cs" />
<Compile Include="ActorExts.cs" /> <Compile Include="ActorExts.cs" />
<Compile Include="AIUtils.cs" /> <Compile Include="AIUtils.cs" />
<Compile Include="Traits\EngineerRepairable.cs" />
<Compile Include="Orders\OrderGenerator.cs" /> <Compile Include="Orders\OrderGenerator.cs" />
<Compile Include="TargetExtensions.cs" /> <Compile Include="TargetExtensions.cs" />
<Compile Include="Traits\BotModules\Squads\AttackOrFleeFuzzy.cs" /> <Compile Include="Traits\BotModules\Squads\AttackOrFleeFuzzy.cs" />

View File

@@ -117,9 +117,4 @@ namespace OpenRA.Mods.Common.Traits
} }
} }
} }
[Desc("Eligible for instant repair.")]
class EngineerRepairableInfo : TraitInfo<EngineerRepairable> { }
class EngineerRepairable { }
} }

View File

@@ -0,0 +1,20 @@
#region Copyright & License Information
/*
* Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Eligible for instant repair.")]
class EngineerRepairableInfo : TraitInfo<EngineerRepairable> { }
class EngineerRepairable { }
}