예제 #1
0
    public void InstallPodPart(PodPart part)
    {
        EnginePodPart engine = part as EnginePodPart;

        if (engine != null)
        {
            InstallEngine(engine);
        }

        InjectorPodPart injector = part as InjectorPodPart;

        if (injector != null)
        {
            InstallInjector(injector);
        }
    }
예제 #2
0
 private void InstallEngine(EnginePodPart engine)
 {
     this.engine = engine;
 }