Bacterium.Game.Jump C# (CSharp) Method

Jump() private method

private Jump ( MyPoint p, Cell c, int i, int j ) : void
p MyPoint
c Cell
i int
j int
return void
        private void Jump(MyPoint p, Cell c, int i, int j)
        {
            p.SetNewLocation(c.X, c.Y);
            p.I = i;
            p.J = j;
            c.Enabled = false;
            p.CurrentCell.Enabled = true;
            p.CurrentCell = c;
            IsLightTurn = !IsLightTurn;
            Expansion(p);
              //  MessageBox.Show(String.Format("Game over! The winner is: {0}", _lightList.Count == 0 ? "Green team" : "Red team"));
        }