Moves traits from Common and Power namespaces to Common.Traits namespace

This commit is contained in:
reaperrr
2014-12-09 23:39:39 +01:00
parent 9a1e110481
commit ffca040c47
103 changed files with 113 additions and 111 deletions

View File

@@ -11,7 +11,7 @@
using System.Collections.Generic;
using OpenRA.Effects;
using OpenRA.Graphics;
using OpenRA.Mods.Common.Power;
using OpenRA.Mods.Common.Traits;
namespace OpenRA.Mods.Common.Effects
{

View File

@@ -12,13 +12,14 @@ using System.Collections.Generic;
using System.Linq;
using OpenRA.Effects;
using OpenRA.Graphics;
using OpenRA.Mods.Common.Traits;
namespace OpenRA.Mods.Common.Effects
{
class RallyPoint : IEffect
{
readonly Actor building;
readonly Common.RallyPoint rp;
readonly Common.Traits.RallyPoint rp;
readonly string palettePrefix;
readonly Animation flag;
readonly Animation circles;
@@ -28,7 +29,7 @@ namespace OpenRA.Mods.Common.Effects
this.building = building;
this.palettePrefix = palettePrefix;
rp = building.Trait<Common.RallyPoint>();
rp = building.Trait<Common.Traits.RallyPoint>();
flag = new Animation(building.World, "rallypoint");
circles = new Animation(building.World, "rallypoint");