bool test(entity const & e) const { if (!e || !e.has<position>()) return false; return e.get<position>() == m_pos && m_ent.id() != e.id() && (!DoColl || (e.has(collides_) && e(collides_, m_ent))); }
bool test(entity const & e) const { return &e != m_eptr && e.has(collides_) && e(collides_, *m_eptr); }