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:
parent
a84fd764c5
commit
7a54e4aa2d
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue