public PortalControl CreatePortalControl(Concept concept) { var portal = new PortalControl(); new PortalController(portal, concept, WorldBuilder.CreateWorld).Control(); return(portal); }
public PortalController(PortalControl control, Concept concept, Func <Concept, Plugs, World> worldBuilder) { _control = control; _concept = concept; _worldBuilder = worldBuilder; }