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