Move PlayerResources to Mods.Common.

This commit is contained in:
Paul Chote
2018-04-27 19:20:21 +00:00
committed by abcdefg30
parent d186ca38f7
commit da29250711
6 changed files with 5 additions and 4 deletions

View File

@@ -181,7 +181,6 @@
<Compile Include="Sync.cs" />
<Compile Include="TraitDictionary.cs" />
<Compile Include="Traits\LintAttributes.cs" />
<Compile Include="Traits\Player\PlayerResources.cs" />
<Compile Include="Traits\Player\Shroud.cs" />
<Compile Include="Traits\Selectable.cs" />
<Compile Include="Traits\Target.cs" />

View File

@@ -13,7 +13,6 @@ using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Mods.Common.Traits;
using OpenRA.Support;
using OpenRA.Traits;
namespace OpenRA.Mods.Common.AI

View File

@@ -863,6 +863,7 @@
<Compile Include="UpdateRules\Rules\RemoveWithReloadingSpriteTurret.cs" />
<Compile Include="UpdateRules\Rules\AddEditorPlayer.cs" />
<Compile Include="UpdateRules\Rules\RemovePaletteFromCurrentTileset.cs" />
<Compile Include="Traits\Player\PlayerResources.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="AfterBuild">

View File

@@ -10,6 +10,7 @@
#endregion
using System;
using OpenRA.Mods.Common.Traits;
using OpenRA.Scripting;
using OpenRA.Traits;

View File

@@ -12,8 +12,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Traits;
namespace OpenRA.Traits
namespace OpenRA.Mods.Common.Traits
{
public class PlayerResourcesInfo : ITraitInfo, ILobbyOptions
{

View File

@@ -10,7 +10,7 @@
#endregion
using System.Drawing;
using OpenRA.Traits;
using OpenRA.Mods.Common.Traits;
using OpenRA.Widgets;
namespace OpenRA.Mods.Common.Widgets.Logic