1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-25 17:59:24 +01:00

added a default constructor to Combination

This commit is contained in:
Ell 2023-03-03 14:24:35 +01:00
parent a84fd764c5
commit 7a54e4aa2d

View file

@ -390,6 +390,11 @@ namespace MLEM.Input {
this.InverseModifiers = this.InverseModifiers.Where(k => k != this.Key).Except(this.Modifiers).ToArray();
}
/// <summary>
/// Creates a new empty combination using the default <see cref="GenericInput"/> with the <see cref="GenericInput.InputType.None"/> input type and no <see cref="Modifiers"/> or <see cref="InverseModifiers"/>.
/// </summary>
public Combination() : this(default, null, null) {}
/// <summary>
/// Returns whether this combination is currently down.
/// See <see cref="InputHandler.IsDown"/> for more information.