don't just repeat the name of the trait, but explain

This commit is contained in:
Matthias Mailänder
2014-07-20 13:55:38 +02:00
parent 40d0e20fe1
commit 547730c195

View File

@@ -1,6 +1,6 @@
#region Copyright & License Information #region Copyright & License Information
/* /*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS) * Copyright 2007-2014 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made * This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License * available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information, * as published by the Free Software Foundation. For more information,
@@ -13,7 +13,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA namespace OpenRA.Mods.RA
{ {
[Desc("This actor provides radar.")] [Desc("This actor enables the radar minimap.")]
public class ProvidesRadarInfo : TraitInfo<ProvidesRadar> { } public class ProvidesRadarInfo : TraitInfo<ProvidesRadar> { }
public class ProvidesRadar : ITick public class ProvidesRadar : ITick
@@ -34,7 +34,7 @@ namespace OpenRA.Mods.RA
} }
} }
[Desc("Jams radar signal.")] [Desc("When an actor with this trait is in range of an actor with ProvidesRadar, it will temporarily disable the radar minimap for the enemy player.")]
class JamsRadarInfo : TraitInfo<JamsRadar> class JamsRadarInfo : TraitInfo<JamsRadar>
{ {
[Desc("Range for jamming.")] [Desc("Range for jamming.")]