borgware-2d/games/breakout/score.c

12 lines
145 B
C
Raw Normal View History

2010-01-21 13:40:40 +00:00
#include "score.h"
static uint16_t score = 0;
void score_add (uint8_t in_score)
{
score += in_score;
}
uint16_t score_get()
{
return score;
}