Exemple #1
0
        private void TileList_DoubleClick(object sender, EventArgs e)
        {
            if (m_parent.Status.Path != null)
            {
                m_parent.Status.Path.RemoveRange(0, TileList.SelectedIndex);
            }

            TileList.Refresh();
        }
Exemple #2
0
        private void TileList_DoubleClick(object sender, EventArgs e)
        {
            if (m_parent.status.path != null)
            {
                m_parent.status.path.RemoveRange(0, TileList.SelectedIndex);
            }

            m_parent.MoveRobot(m_parent.status.path[0].Position, m_parent.status.position.facing);

            m_parent.DrawFloor();

            TileList.Refresh();
        }