void Engine::update(entityx::TimeDelta dt)
{
systems.update<InputSystem>(dt);
- //systems.update<PhysicsSystem>(dt);
systems.update<MovementSystem>(dt);
+ //systems.update<DialogSystem>(dt);
systems.update<WorldSystem>(dt);
systems.update<PlayerSystem>(dt);
}
entity.assign<Physics>(g);
} else if (tname == "Name") {
entity.assign<Name>(coalesce(wxml->Attribute("name"), abcd->Attribute("value")));
+ } else if (tname == "Dialog") {
+ entity.assign<Dialog>();
+ } else if (tname == "Grounded") {
+ entity.assign<Grounded>();
}
abcd = abcd->NextSiblingElement();