예제 #1
0
 internal void InjectDependencies(FearResourceManager resMan,
                                  Input fearInput,
                                  GameObjectFactory gameObjFactory,
                                  UpdateableFactory updateableFac,
                                  SceneFactory sceneFac,
                                  LightFactory lightFac,
                                  CameraFactory cameraFac)
 {
     resourceManager   = resMan;
     input             = fearInput;
     gameObjectFactory = gameObjFactory;
     updateableFactory = updateableFac;
     sceneFactory      = sceneFac;
     lightFactory      = lightFac;
     cameraFactory     = cameraFac;
 }
예제 #2
0
 public CameraFactory(UpdateableFactory updateableFac)
 {
     updateableFactory = updateableFac;
 }