diff options
author | cflip <cflip@cflip.net> | 2022-02-27 10:55:11 -0700 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-02-27 10:55:11 -0700 |
commit | bba66a0ccb7281cd6c717fe9784a04a4fcf72700 (patch) | |
tree | e9689454cde4d42837ab09681215101fc28ed4a6 /src/level.h | |
parent | 12909a3ea80639a67edd854d441614abdcd4dc12 (diff) |
Add ClangFormat configuration
Diffstat (limited to 'src/level.h')
-rw-r--r-- | src/level.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/level.h b/src/level.h index 0ffdac2..344d35f 100644 --- a/src/level.h +++ b/src/level.h @@ -11,6 +11,7 @@ public: uint8_t get(int x, int y); void set(int x, int y, uint8_t tile); bool inBounds(int x, int y) { return x >= 0 && x < m_width && y >= 0 && y < m_height; } + private: int m_width, m_height; uint8_t* m_tiles; |