Exemple #1
0
        public PortalControl CreatePortalControl(Concept concept)
        {
            var portal = new PortalControl();

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