public new void moveCurrentHover(int a_move)
{
m_buttons.ElementAt(m_currentButton).setState(Button.State.Normal);
m_currentButton += a_move;
if (m_currentButton >= m_buttons.Count)
{
m_currentButton = 0;
}
else if (m_currentButton < 0)
{
m_currentButton = m_buttons.Count - 1;
}
if (!m_buttons.ElementAt(m_currentButton).hasEvent())
{
m_currentButton += a_move;
if (m_currentButton >= m_buttons.Count)
{
m_currentButton = 0;
}
else if (m_currentButton < 0)
{
m_currentButton = m_buttons.Count - 1;
}
}
m_buttons.ElementAt(m_currentButton).setState(Button.State.Hover);
}