Exemplo n.º 1
0
 public Snake()
 {
     Head_directions = Directions.Right;
     length          = 5;
     Tail            = new Snaketail();
     Head            = new Snakepart(13, 10);
 }
Exemplo n.º 2
0
        public void add_Tailpart_beginning(int _x, int _y)
        {
            Snakepart t = new Snakepart(_x, _y);

            Parts.Insert(0, t);
        }
Exemplo n.º 3
0
        public void add_Tailpart(int _x, int _y)
        {
            Snakepart t = new Snakepart(_x, _y);

            Parts.Add(t);
        }