summary refs log tree commit diff stats
path: root/src/level.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/level.h')
-rw-r--r--src/level.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/level.h b/src/level.h index 3d6fb87..6224c15 100644 --- a/src/level.h +++ b/src/level.h
@@ -12,14 +12,6 @@ public:
12 size_ = LEVEL_SIZE; 12 size_ = LEVEL_SIZE;
13 13
14 tiles_.resize(size_.w() * size_.h()); 14 tiles_.resize(size_.w() * size_.h());
15
16 for (size_t y = 0; y < size_.h(); y++)
17 {
18 for (size_t x = 0; x < size_.w(); x++)
19 {
20 tiles_[x+y*size_.w()] = rand() % 10;
21 }
22 }
23 } 15 }
24 16
25 const vec2s& getSize() const 17 const vec2s& getSize() const