-
Notifications
You must be signed in to change notification settings - Fork 0
/
draw.c
35 lines (32 loc) · 1.12 KB
/
draw.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "draw.h"
#include "gba.h"
// TA-TODO: Include any header files for images generated by nin10kit.
// Example for the provided garbage image:
// #include "images/garbage.h"
// TA-TODO: Add any draw/undraw functions for sub-elements of your app here.
// For example, for a snake game, you could have a drawSnake function
// or a drawFood function
//
// e.g.:
// static void drawSnake(Snake* snake);
// static void drawFood(Food* food);
// This function will be used to draw everything about the app
// including the background and whatnot.
//void fullDrawAppState(AppState *state) {
// // TA-TODO: IMPLEMENT.
// UNUSED(state);
//}
//
//// This function will be used to undraw (i.e. erase) things that might
//// move in a frame. E.g. in a Snake game, erase the Snake, the food & the score.
//void undrawAppState(AppState *state) {
// // TA-TODO: IMPLEMENT.
// UNUSED(state);
//}
//
//// This function will be used to draw things that might have moved in a frame.
//// For example, in a Snake game, draw the snake, the food, the score.
//void drawAppState(AppState *state) {
// // TA-TODO: IMPLEMENT.
// UNUSED(state);
//}