using System;
namespace Framework.Input.States {
/// Provides a human-readable description for an input action
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class DescriptionAttribute : Attribute {
/// Initializes a new input action description
///
/// Description that will be assigned to the input action
///
public DescriptionAttribute(string description) {
this.description = description;
}
/// Description that can be displayed for the input action
public string Description {
get { return this.description; }
}
/// Description to be displayed for the input action
private string description;
}
} // namespace Framework.Input.States