From 2c3198dc27f87488b9dd12a726dcd383ad626a01 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 14 Jun 2015 14:07:15 +0100 Subject: [PATCH] Move shroud traits to Mods.Common. --- OpenRA.Game/OpenRA.Game.csproj | 2 -- OpenRA.Mods.Common/OpenRA.Mods.Common.csproj | 2 ++ {OpenRA.Game => OpenRA.Mods.Common}/Traits/CreatesShroud.cs | 4 +--- {OpenRA.Game => OpenRA.Mods.Common}/Traits/RevealsShroud.cs | 3 ++- 4 files changed, 5 insertions(+), 6 deletions(-) rename {OpenRA.Game => OpenRA.Mods.Common}/Traits/CreatesShroud.cs (97%) rename {OpenRA.Game => OpenRA.Mods.Common}/Traits/RevealsShroud.cs (96%) diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index fa6d6941db..ca101ce3fc 100644 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -169,7 +169,6 @@ - @@ -177,7 +176,6 @@ - diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index 7ddbb3a6a0..bfd03510a5 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -681,6 +681,8 @@ + + diff --git a/OpenRA.Game/Traits/CreatesShroud.cs b/OpenRA.Mods.Common/Traits/CreatesShroud.cs similarity index 97% rename from OpenRA.Game/Traits/CreatesShroud.cs rename to OpenRA.Mods.Common/Traits/CreatesShroud.cs index c5729fad33..fd93d5bdaf 100644 --- a/OpenRA.Game/Traits/CreatesShroud.cs +++ b/OpenRA.Mods.Common/Traits/CreatesShroud.cs @@ -8,9 +8,7 @@ */ #endregion -using System.Linq; - -namespace OpenRA.Traits +namespace OpenRA.Mods.Common.Traits { public class CreatesShroudInfo : ITraitInfo { diff --git a/OpenRA.Game/Traits/RevealsShroud.cs b/OpenRA.Mods.Common/Traits/RevealsShroud.cs similarity index 96% rename from OpenRA.Game/Traits/RevealsShroud.cs rename to OpenRA.Mods.Common/Traits/RevealsShroud.cs index f10bbedb10..fab4058db6 100644 --- a/OpenRA.Game/Traits/RevealsShroud.cs +++ b/OpenRA.Mods.Common/Traits/RevealsShroud.cs @@ -9,8 +9,9 @@ #endregion using System.Linq; +using OpenRA.Traits; -namespace OpenRA.Traits +namespace OpenRA.Mods.Common.Traits { public class RevealsShroudInfo : ITraitInfo {