public InputManager(Game game)
: base(game)
{
_inputList = new List<InputKey>();
_hit = new Key();
_hit.SetActivator(Keys.O);
_jump = new Key();
_jump.SetActivator(Keys.Space); ;
_move = new Direction();
_interact = new Key();
_interact.SetActivator(Keys.T);
_potion = new Key();
_potion.SetActivator(Keys.P);
_inputList.Add(_hit);
_inputList.Add(_jump);
_inputList.Add(_move);
_inputList.Add(_interact);
_inputList.Add(_potion);
foreach(InputKey ik in _inputList)
{
int defaultMode = 0; // 0 = Keyboard, 1 = GamePad
ik.SetMode(defaultMode);
}
}