From 8752e76d1e3c5953d55ce2b988c725b05e7e3c1d Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Sat, 13 Apr 2019 20:25:12 +0300 Subject: [PATCH] Split EngineerRepairable to its own file. --- OpenRA.Mods.Common/OpenRA.Mods.Common.csproj | 1 + OpenRA.Mods.Common/Traits/EngineerRepair.cs | 5 ----- .../Traits/EngineerRepairable.cs | 20 +++++++++++++++++++ 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 OpenRA.Mods.Common/Traits/EngineerRepairable.cs diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index 7d8d549a89..590a19a100 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -116,6 +116,7 @@ + diff --git a/OpenRA.Mods.Common/Traits/EngineerRepair.cs b/OpenRA.Mods.Common/Traits/EngineerRepair.cs index 4c406208a7..dab7fa291a 100644 --- a/OpenRA.Mods.Common/Traits/EngineerRepair.cs +++ b/OpenRA.Mods.Common/Traits/EngineerRepair.cs @@ -117,9 +117,4 @@ namespace OpenRA.Mods.Common.Traits } } } - - [Desc("Eligible for instant repair.")] - class EngineerRepairableInfo : TraitInfo { } - - class EngineerRepairable { } } diff --git a/OpenRA.Mods.Common/Traits/EngineerRepairable.cs b/OpenRA.Mods.Common/Traits/EngineerRepairable.cs new file mode 100644 index 0000000000..31c49a2a0a --- /dev/null +++ b/OpenRA.Mods.Common/Traits/EngineerRepairable.cs @@ -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 { } + + class EngineerRepairable { } +}