Merge pull request #11382 from reaperrr/projectile-streamlining
Moved projectiles to their own namespace and streamlined property names
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
<Compile Include="Effects\GpsDot.cs" />
|
||||
<Compile Include="Effects\GpsSatellite.cs" />
|
||||
<Compile Include="Effects\SatelliteLaunch.cs" />
|
||||
<Compile Include="Effects\TeslaZap.cs" />
|
||||
<Compile Include="Projectiles\TeslaZap.cs" />
|
||||
<Compile Include="Graphics\TeslaZapRenderable.cs" />
|
||||
<Compile Include="Scripting\Properties\InfiltrateProperties.cs" />
|
||||
<Compile Include="Scripting\Properties\DisguiseProperties.cs" />
|
||||
|
||||
@@ -16,9 +16,9 @@ using OpenRA.Graphics;
|
||||
using OpenRA.Mods.RA.Graphics;
|
||||
using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.RA.Effects
|
||||
namespace OpenRA.Mods.RA.Projectiles
|
||||
{
|
||||
class TeslaZapInfo : IProjectileInfo
|
||||
public class TeslaZapInfo : IProjectileInfo
|
||||
{
|
||||
public readonly string Image = "litning";
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
public IEffect Create(ProjectileArgs args) { return new TeslaZap(this, args); }
|
||||
}
|
||||
|
||||
class TeslaZap : IEffect
|
||||
public class TeslaZap : IEffect
|
||||
{
|
||||
readonly ProjectileArgs args;
|
||||
readonly TeslaZapInfo info;
|
||||
Reference in New Issue
Block a user