public void RunTest(int test)
{
switch (test)
{
case 1:
m_from = new IntVector3(7, 6, 0);
m_to = new IntVector3(12, 9, 0);
break;
case 2:
m_from = new IntVector3(6, 0, 0);
m_to = new IntVector3(0, 13, 1);
break;
case 3:
m_from = new IntVector3(6, 0, 0);
m_to = new IntVector3(0, 0, 0);
break;
case 4:
m_from = new IntVector3(6, 0, 0);
m_to = new IntVector3(37, 15, 0);
break;
default:
return;
}
ClearMap();
DoAStar(m_from, m_to);
m_state = 3;
}