mirror of
https://github.com/ProgramSnail/snake_2024.git
synced 2025-12-08 15:38:42 +00:00
modernization, better food rendering, consistent player moving, snake intersections
This commit is contained in:
parent
adabb50a9e
commit
b4509733da
8 changed files with 119 additions and 39 deletions
|
|
@ -5,4 +5,7 @@
|
|||
struct Player {
|
||||
Vecf pos;
|
||||
Vecf direction;
|
||||
double speed;
|
||||
double move_interval;
|
||||
double move_time_delta;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue