diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-02-16 10:02:05 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-02-16 10:02:05 -0500 |
commit | a34396730c8d993fea84a454690bd13ea9a9b403 (patch) | |
tree | 5f226ee45acaa7070a1bb821df3320e907a9ecb2 /src/level.h | |
parent | 8ffb27ab09ff567a159e5be5a243fd3967084977 (diff) | |
download | dispatcher-a34396730c8d993fea84a454690bd13ea9a9b403.tar.gz dispatcher-a34396730c8d993fea84a454690bd13ea9a9b403.tar.bz2 dispatcher-a34396730c8d993fea84a454690bd13ea9a9b403.zip |
Started implementing pushing, but not really
Diffstat (limited to 'src/level.h')
-rw-r--r-- | src/level.h | 8 |
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 |