summaryrefslogtreecommitdiffhomepage
path: root/src/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index c0b89195..c9c1a4ab 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -88,14 +88,6 @@ std::size_t entity::index() const
return (std::size_t)std::distance(es.cbegin(), it);
}
-bool entity::operator==(const entity_proto& o) const
-{
- return atlas.get() == o.atlas.get() &&
- type == o.type && frame == o.frame && r == o.r && pass == o.pass &&
- offset == o.offset && bbox_offset == o.bbox_offset &&
- bbox_size == o.bbox_size && delta == o.delta;
-}
-
void entity::rotate(std::size_t, rotation new_r)
{
auto& w = *c->_world;