From f24107368fa47f911f4491f644ff3755525c91e1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 19 Aug 2017 20:20:51 +0500 Subject: 2017-08-19 --- old/world/Block.cpp | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 old/world/Block.cpp (limited to 'old/world/Block.cpp') 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; -} -- cgit v1.2.3