protomine/src/grid/shop.c

11 lines
281 B
C

#include "grid.h"
#include "tiles.h"
void grid_shop(struct Grid *restrict grid) {
const int x_middle = grid->width / 2;
const int y_middle = grid->height / 2;
grid_set(grid, x_middle, y_middle, TILE_CONTRACTS);
grid_set(grid, x_middle + 4, y_middle, TILE_ZONE_TRANSITION);
}