public AnimatedCogsMenu(IGameObjectsFactory gameObjectsFactory, IUserInterfaceFactory interfaceFactory)
        {
            easingFunction = new GaussianFunction(0, 2f);

            this.gameObjectsFactory = gameObjectsFactory;
            largeCog = new LargeCog(gameObjectsFactory, interfaceFactory);
        }
Beispiel #2
0
 public LevelScreen(IGameObjectsFactory gameObjectsFactory, IUserInterfaceFactory interfaceFactory,
     IMathFunctionsFactory functionsFactory, ICamera2D camera2D, IContentLoader contentLoader)
 {
     this.contentLoader = contentLoader;
     this.camera = camera2D;
     player = new Player();
     this.objectsFactory = gameObjectsFactory;
     scene2d = new Scene2D(gameObjectsFactory, new GameplayFactory(gameObjectsFactory), interfaceFactory);
     this.functionsFactory = functionsFactory;
 }
Beispiel #3
0
 public WorldGenerationService(Level level, Random random, IGameObjectsFactory objectsFactory)
 {
     this.level          = level;
     this.random         = random;
     this.objectsFactory = objectsFactory;
 }
 public MainMenuScreen(IGameObjectsFactory gameObjectsFactory, IUserInterfaceFactory interfaceFactory)
 {
     cogsMenu = new AnimatedCogsMenu(gameObjectsFactory, interfaceFactory);
 }
Beispiel #5
0
 public LargeCog(IGameObjectsFactory gameObjectsFactory, IUserInterfaceFactory userInterfaceFactory)
 {
     this.gameObjectsFactory = gameObjectsFactory;
     this.userInterfaceFactory = userInterfaceFactory;
 }