embed the previously manually edited outdated documentation
from https://github.com/OpenRA/OpenRA/wiki/Trait-Documentation
This commit is contained in:
@@ -8,11 +8,16 @@
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using OpenRA.FileFormats;
|
||||
using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class GivesExperienceInfo : TraitInfo<GivesExperience> { public readonly int Experience = -1; }
|
||||
class GivesExperienceInfo : TraitInfo<GivesExperience>
|
||||
{
|
||||
[Desc("if -1, use the value of the unit cost.")]
|
||||
public readonly int Experience = -1;
|
||||
}
|
||||
|
||||
class GivesExperience : INotifyKilled
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user