import { System, World } from"ecsy";
/**
* @hidden
* Hack on ecsy to get World instance from system itself.
* @param system A registered ecsy System class
* @returns ecsy world
*/exportfunctiongetWorld(system: System): World {
return (system as any)["world"] asWorld;
}