fixed error in comment
parent
e03037acbe
commit
42ee0c4a26
|
@ -30,7 +30,7 @@ void on_click(int down) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void start_game() {
|
void start_game() {
|
||||||
// called when the game first run
|
// called when the game is done initializing the backend and ready to start
|
||||||
g_active_view.width = 21;
|
g_active_view.width = 21;
|
||||||
add_key_listener(SDL_SCANCODE_UNKNOWN, SDL_SCANCODE_Q, &on_quit_key);
|
add_key_listener(SDL_SCANCODE_UNKNOWN, SDL_SCANCODE_Q, &on_quit_key);
|
||||||
add_key_listener(SDL_SCANCODE_S, SDL_SCANCODE_W, &on_horizontal);
|
add_key_listener(SDL_SCANCODE_S, SDL_SCANCODE_W, &on_horizontal);
|
||||||
|
|
Loading…
Reference in New Issue