StyleCop and add documentation
This commit is contained in:
@@ -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); }
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user