summaryrefslogtreecommitdiff
path: root/include/body.h
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2022-12-10 16:59:04 -0800
committerLouie Shprung <lshprung@scu.edu>2022-12-10 16:59:04 -0800
commit603af77207d98b607de80bb734e4123bb9279786 (patch)
tree828196e85cc6607d83e8cb213715ec8915ddc272 /include/body.h
parentcdd4d3bb1cb896461950dc05e63917458e983b80 (diff)
Move include/ into src/
Diffstat (limited to 'include/body.h')
-rw-r--r--include/body.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/body.h b/include/body.h
deleted file mode 100644
index 29241bf..0000000
--- a/include/body.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef BODY_H
-#define BODY_H
-
-typedef struct node NODE;
-
-typedef struct snake SNAKE;
-
-SNAKE *makeSnake(int startx, int starty, int len);
-void deleteSnake(SNAKE *sp);
-
-void updateSnake(SNAKE *sp, int dir, int maxx, int maxy, bool *collision, int *fruit_loc, bool *fruit, int *score);
-bool checkSnake(SNAKE *sp, int maxx, int maxy);
-
-int getSnakeTailx(SNAKE *sp);
-int getSnakeTaily(SNAKE *sp);
-int getSnakeHeadx(SNAKE *sp);
-int getSnakeHeady(SNAKE *sp);
-
-#endif