mirror of
https://github.com/ssloy/tinyraycaster.git
synced 2025-01-17 05:08:22 +01:00
15 lines
233 B
C
15 lines
233 B
C
#ifndef MAP_H
|
|
#define MAP_H
|
|
|
|
#include <cstdlib>
|
|
|
|
struct Map {
|
|
size_t w, h; // overall map dimensions
|
|
Map();
|
|
int get(const size_t i, const size_t j);
|
|
bool is_empty(const size_t i, const size_t j);
|
|
};
|
|
|
|
#endif // MAP_H
|
|
|