moved OreRefinery into mod dll.
This commit is contained in:
@@ -134,7 +134,6 @@
|
||||
<Compile Include="Traits\World\ChoosePaletteOnSelect.cs" />
|
||||
<Compile Include="Traits\World\Country.cs" />
|
||||
<Compile Include="Traits\World\CrateSpawner.cs" />
|
||||
<Compile Include="Traits\OreRefinery.cs" />
|
||||
<Compile Include="Traits\Activities\Attack.cs" />
|
||||
<Compile Include="Traits\Activities\CallFunc.cs" />
|
||||
<Compile Include="Traits\Activities\EnterTransport.cs" />
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace OpenRA.Traits
|
||||
public override object Create(Actor self) { return new RenderUnit(self); }
|
||||
}
|
||||
|
||||
class RenderUnit : RenderSimple, INotifyDamage
|
||||
public class RenderUnit : RenderSimple, INotifyDamage
|
||||
{
|
||||
public RenderUnit(Actor self)
|
||||
: base(self, () => self.traits.Get<Unit>().Facing)
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
<Compile Include="C4Demolition.cs" />
|
||||
<Compile Include="Chronoshiftable.cs" />
|
||||
<Compile Include="Effects\NukeLaunch.cs" />
|
||||
<Compile Include="OreRefinery.cs" />
|
||||
<Compile Include="SupportPowers\ChronoshiftPaletteEffect.cs" />
|
||||
<Compile Include="SupportPowers\ChronoshiftPower.cs" />
|
||||
<Compile Include="Crates\ArmorUpgradeCrateAction.cs" />
|
||||
|
||||
3
OpenRA.Game/Traits/OreRefinery.cs → OpenRA.Mods.RA/OreRefinery.cs
Normal file → Executable file
3
OpenRA.Game/Traits/OreRefinery.cs → OpenRA.Mods.RA/OreRefinery.cs
Normal file → Executable file
@@ -18,9 +18,10 @@
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using OpenRA.Traits;
|
||||
using OpenRA.Traits.Activities;
|
||||
|
||||
namespace OpenRA.Traits
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class OreRefineryInfo : ITraitInfo
|
||||
{
|
||||
Reference in New Issue
Block a user