display.h
来自「snake game in avr snake game in avr」· C头文件 代码 · 共 35 行
H
35 行
/*
** display.h
**
** Written by Peter Sutton - October 2004
**
*/
/*
** Initialise the screen and draw a border around where the pieces
** will fall. Serial IO must be initialised before calling this.
*/
void init_screen(void);
/*
** Move to a given position on the screen, delete to the end of
** the current line and output the given value.
*/
void output_score(void);
/*
** Outputs data to the board
*/
void display_food_at(int8_t x, int8_t y);
void display_snake_at(int8_t x, int8_t y);
void display_blank_at(int8_t x, int8_t y);
/*
** Output a game over message
*/
void game_over_message(void);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?