Files
fun-columns-sdl/src/rotate_column.c
T

11 lines
200 B
C

// rotate tiles in brick by 1
int rotate_col (void)
{
int temp;
temp = tile_current[0];
tile_current[0] = tile_current[1];
tile_current[1] = tile_current[2];
tile_current[2] = temp;
return 0;
}