mirror of
https://github.com/ProgramSnail/snake_2024.git
synced 2025-12-24 15:18:43 +00:00
support mouse cursor
This commit is contained in:
parent
f86c1a22ac
commit
a1430a42aa
3 changed files with 41 additions and 2 deletions
3
Engine.h
3
Engine.h
|
|
@ -27,6 +27,9 @@ enum
|
|||
|
||||
// VK_SPACE, VK_RIGHT, VK_LEFT, VK_UP, VK_DOWN, etc.
|
||||
bool is_key_pressed(int button_vk_code);
|
||||
bool is_mouse_button_pressed(int mouse_button);
|
||||
int get_cursor_x();
|
||||
int get_cursor_y();
|
||||
|
||||
void initialize();
|
||||
void finalize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue