feat(server): send entity position updates to all sessions

This commit is contained in:
2026-08-02 14:01:56 +08:00
parent 18e308bd03
commit a54858e4c6
2 changed files with 22 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ private:
void send_all_entities(std::shared_ptr<Session>& session);
void update_ai();
void update_move();
void update_send();
template <typename... Args>
EntityID create_entity_in_factory(Args&&... args) {
auto entity = m_registry.create();