Snake.h 322 B

1234567
  1. #pragma once
  2. void start_snake(int*, int*, int&); //ïîëîæåíèå ãîëîâû çìåéêè ïðè ñòàðòå èãðû/
  3. void init_snake(int*, int*, int&);//Óñòàíàâëèâàåòñÿ íà÷àëüíûé ðàçìåð çìåéêè.
  4. void move_snake(int*, int*, int&, DIRECTION&);// Ïåðåäâèãàþòñÿ ýëåìåíòû çìåéêè.
  5. void grow_snake(int*, int*, int&);// åñëè çìåéêà ñüåëà åäó +1 ê ðàçìåðó