public void clearLists(Game myGame)
 {
     snakeBoxList.Clear();
     snakeList.Clear();
     Segment headSegment = new Segment();
     snakeList.AddFirst(headSegment);
     Segment first = (Segment)snakeList.First.Value;
     first.LoadSegment(myGame);
 }
        public void chomp(Game myGame)
        {
            /*
             *  "Eating" for the snake. Call when collide with
             *  an apple. Also increase points.
             */

            Segment newSeg = new Segment(snakeList.Last.Value.locx-snakeList.Last.Value.width, snakeList.Last.Value.locy);
            newSeg.LoadSegment(myGame);
            snakeList.AddAfter(snakeList.Last, newSeg);
            //snakeBoxList.Add(newSeg.boundBox());
             //For console checking not needed
        }
 public snakeChar()
 {
     Segment headSegment = new Segment();
     snakeList.AddFirst(headSegment);
 }