Fri, 12 Apr 2024 22:23:31 +0200
remove unnecessary parameters
test/snake.c | file | annotate | diff | comparison | revisions |
--- a/test/snake.c Fri Apr 12 22:22:07 2024 +0200 +++ b/test/snake.c Fri Apr 12 22:23:31 2024 +0200 @@ -70,7 +70,7 @@ static void create_score_counter(void) { asc_set_font(asc_font(ASC_FONT_BOLD, 14)); asc_ink_rgb(0, 255, 0); - AscSceneNode* node = asc_text( .x = 0, .y = 0, .text = "Score: 0" ); + AscSceneNode* node = asc_text(.text = "Score: 0" ); asc_scene_add_behavior(node, update_score_counter); asc_add_ui_node(node); }