/// <summary> /// Initializes a new instance of the <see cref="PlayerInputCommand"/> class. /// </summary> /// <param name="input">The player input.</param> public PlayerInputCommand(PlayerInputCommandType input) : this(input, Vector2.Zero) { }
/// <summary> /// Initializes a new instance of the <see cref="PlayerInputCommand"/> class. /// </summary> /// <param name="input">The player input.</param> /// <param name="value">The associated value.</param> public PlayerInputCommand(PlayerInputCommandType input, Vector2 value) : base(SpaceCommandType.PlayerInput) { Input = input; Value = value; }