A 2D tile-based sandbox game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Chunk.h 183B

1234567891011121314
  1. #pragma once
  2. #include "common.h"
  3. #include "Tile.h"
  4. class Chunk {
  5. public:
  6. int x_;
  7. int y_;
  8. Tile::TileID tiles_[CHUNK_HEIGHT][CHUNK_WIDTH];
  9. void clear();
  10. void draw(Win &win);
  11. };