A 2D tile-based sandbox game.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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