|
SNAKE_STM32F3
|
Structure holding all snake info. More...
#include <snake.h>

Data Fields | |
| uint8_t | length |
| vec2_t | head |
| vec2_t | tail [MAX_SNAKE_SIZE] |
| vec2_t | fruit |
| direction_t | move_dir |
| direction_t | prev_move_dir |
| bool | collision_map [GAME_DIM][GAME_DIM] |
| bool | GROWTH |
| state_t | state |
Structure holding all snake info.
| vec2_t snake_state::fruit |
| bool snake_state::GROWTH |
| vec2_t snake_state::head |
| uint8_t snake_state::length |
| direction_t snake_state::move_dir |
| direction_t snake_state::prev_move_dir |
| state_t snake_state::state |
| vec2_t snake_state::tail[MAX_SNAKE_SIZE] |