document interdependencies

This commit is contained in:
Matthias Mailänder
2016-01-24 16:52:37 +01:00
parent 6c56ac39c6
commit 29e6f53a78
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA.Traits namespace OpenRA.Mods.RA.Traits
{ {
[Desc("Required for GpsPower. Attach this to the player actor.")] [Desc("Required for `GpsPower`. Attach this to the player actor.")]
class GpsWatcherInfo : ITraitInfo class GpsWatcherInfo : ITraitInfo
{ {
public object Create(ActorInitializer init) { return new GpsWatcher(init.Self.Owner); } public object Create(ActorInitializer init) { return new GpsWatcher(init.Self.Owner); }

View File

@@ -17,6 +17,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.RA.Traits namespace OpenRA.Mods.RA.Traits
{ {
[Desc("Requires `GpsWatcher` on the player actor.")]
class GpsPowerInfo : SupportPowerInfo class GpsPowerInfo : SupportPowerInfo
{ {
public readonly int RevealDelay = 0; public readonly int RevealDelay = 0;