borgware-2d/games/breakout/bricks.h

9 lines
112 B
C

typedef struct
{
uint8_t x;
uint8_t y;
uint8_t strength;
} brick_t;
void brick_damage (brick_t *in_brick);