World = {} function World.add(entity) World[entity.id] = entity return World end