proxy.h 342 B

12345678910111213141516
  1. #ifndef ENTT_LIB_REGISTRY_PLUGIN_PROXY_H
  2. #define ENTT_LIB_REGISTRY_PLUGIN_PROXY_H
  3. #include <entt/entity/fwd.hpp>
  4. #include "types.h"
  5. struct proxy: registry_proxy {
  6. proxy(entt::registry &);
  7. void for_each(void(*)(position &, velocity &)) override;
  8. void assign(velocity) override;
  9. private:
  10. entt::registry *registry;
  11. };
  12. #endif