progress
This commit is contained in:
17
snake/snake.h
Normal file
17
snake/snake.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef SNAKE_H_
|
||||
#define SNAKE_H_
|
||||
|
||||
#include "../globals.h"
|
||||
|
||||
typedef struct snakeNode {
|
||||
int x;
|
||||
int y;
|
||||
char visChar;
|
||||
|
||||
char dir;
|
||||
struct snakeNode* next;
|
||||
} snakePart;
|
||||
|
||||
void addSnakePart(snakePart* head);
|
||||
|
||||
#endif // SNAKE_H_
|
||||
Reference in New Issue
Block a user