using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPSC581___Tutorial_I
{
    public class WASDEventArgs : EventArgs
    {
        //private variable that contains what string was selected
        private String _keySelected;

        //Public property containing getters/setters for the key selected string
        public String KeySelected
        {
            get { return _keySelected; }
            set { _keySelected = value; }
        }

        //private variable that contains the value of the textbox (as an int)
        private int _textBoxValue;

        //Public property containing getters/setters for the value in textbox (as an int)
        public int TextBoxValue
        {
            get { return _textBoxValue; }
            set { _textBoxValue = value; }
        }

        //Constructor for WASDEvents, passing in the string with key selected
        public WASDEventArgs(String key, int tbValue)
        {
            _keySelected = key;
            _textBoxValue = tbValue;
        }
    }
}
