private void HandleCommandInput(Selector selector)
 {
     if (_inputAdapter.MouseClicked(MouseButton.RightButton))
     {
         selector.Command = new MoveCommand(_inputAdapter.MousePostion());
     }
     else if (_inputAdapter.KeyTyped(Settings.DELETE_KEY))
     {
         selector.Command = new DeleteCommand();
     }
 }
        private MouseState GetState(IInputAdapter adapter, MouseButton button)
        {
            if (adapter.MouseClicked(button))
            {
                return(MouseState.Clicked);
            }

            if (adapter.MouseDown(button))
            {
                return(MouseState.Down);
            }

            return(MouseState.Up);
        }