diff options
Diffstat (limited to '')
-rw-r--r-- | old/world/Block.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/old/world/Block.cpp b/old/world/Block.cpp deleted file mode 100644 index e88068a..0000000 --- a/old/world/Block.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "Block.hpp" - -Block::~Block() {} - -Block::Block(unsigned short id, unsigned char state) : id(id), state(state) {} - -Block::Block() : id(0), state(0) {} - -bool operator<(const Block &lhs, const Block &rhs) { - if (lhs.id < rhs.id) - return true; - if (lhs.id == rhs.id) { - if (lhs.state != rhs.state) - return lhs.state < rhs.state; - } - return false; -} |