Ejemplo n.º 1
0
        public Point GetNextPoint()
        {
            Point head      = ListP.Last();
            Point NextPoint = new Point(head);

            NextPoint.Move(1, direction);
            return(NextPoint);
        }
Ejemplo n.º 2
0
        internal bool IsHitTail()
        {
            Point head = ListP.Last();

            for (int i = 0; i < ListP.Count - 2; i++)
            {
                if (head.IsHit(ListP[i]))
                {
                    return(true);
                }
            }
            return(false);
        }
Ejemplo n.º 3
0
 public Vector GetLastP()
 {
     return(ListP.Last());
 }