Пример #1
0
 private void BuildMassiveAttractionSmulation()
 {
     MassiveAttraction = ModuleCreator.Create <MassiveAttraction>("MassiveAttraction");
     MassiveAttraction.LaunchModules();
     MassiveAttraction.LaunchStartupFunctions();
     MassiveAttraction.LoadPlayer();
     MassiveAttraction.LaunchTestLevel();
 }
    public void CreateInstanceModules()
    {
        cameraController = ModuleCreator.Create <CameraController>("camController");
        PoolModule.CreatePool(PrefabCollection.Meteor, 1000, "Meteor Pool");
        PoolModule.CreatePool(PrefabCollection.Bomber, 30, "Bomber Pool");

        launchedExploders  = new List <Exploder>();
        launchedImploders  = new List <Imploder>();
        launchedDefenders  = new List <Defender>();
        GameplayController = new GameplayController();
        cameraController.SetupTarget();
    }