Esempio n. 1
0
 /// <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)
 {
 }
Esempio n. 2
0
 /// <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;
 }