using System;

namespace Icarus.Input.ButtonEvents {

    /// <summary>
    /// Stores event information for when a key is pressed on a keyboard.
    /// </summary>
	public class KeyboardButtonPressEvent : ButtonPressEvent {
        
        /// <summary>
        /// Creates a new KeyboardButtonPressEvent.
        /// </summary>
        /// <param name="name">Name of the keyboard key that was pressed.</param>
        /// <param name="pressed">Whether or not this key was just pressed.</param>
        /// <param name="down">Whether or not this key is being held down.</param>
        /// <param name="released">Whether or not this key was just released.</param>
        public KeyboardButtonPressEvent(string name, bool pressed, bool down, bool released) {
            this.Name = name;
            this.Pressed = pressed;
            this.Down = down;
            this.Released = released;    
        }

	}
}
