alecthomas / entityx

EntityX - A fast, type-safe C++ Entity-Component system
MIT License
2.22k stars 295 forks source link

In Iterator class, method next_entity, does nothing? #182

Closed roig closed 7 years ago

roig commented 7 years ago

Hello Alec, next_entity(...) method does nothing now. Is it ok?

    class Iterator : public ViewIterator<Iterator, All> {
    public:
      Iterator(EntityX *manager,
        const ComponentMask &mask,
        uint32_t index) : ViewIterator<Iterator, All>(manager, mask, index) {
        ViewIterator<Iterator, All>::next();
      }

      void next_entity(Entity &entity) {}
    };
alecthomas commented 7 years ago

Yeah that is fine.