StyleCop and add documentation

This commit is contained in:
Matthias Mailänder
2014-09-28 15:56:41 +02:00
parent aab71ccbaf
commit 45e3d41093
2 changed files with 3 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
[Desc("Play the Build voice of this actor when trained.")]
public class AnnounceOnBuildInfo : ITraitInfo
{
public object Create(ActorInitializer init) { return new AnnounceOnBuild(init.self); }

View File

@@ -12,7 +12,8 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
public class AnnounceOnKillInfo : TraitInfo<AnnounceOnKill> {}
[Desc("Play the Kill voice of this actor when eliminating enemies.")]
public class AnnounceOnKillInfo : TraitInfo<AnnounceOnKill> { }
public class AnnounceOnKill : INotifyAppliedDamage
{
@@ -23,4 +24,3 @@ namespace OpenRA.Mods.RA
}
}
}