diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 07:01:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-17 23:23:11 +0100 |
commit | 34ae7b665919d05660263bf522c78ebdb735d30d (patch) | |
tree | d58a83c5b5b71763c71e51cf421079380cac00c1 /src/entity.cpp | |
parent | 34a0239ad6e6d84bd0027d9029d0d74419247d01 (diff) |
aaa
Diffstat (limited to 'src/entity.cpp')
-rw-r--r-- | src/entity.cpp | 8 |
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; |