Exemplo n.º 1
0
        public GameDifficultyHandler(
            EnemyGlobalTunables globalTunables,
            Settings settings)
        {
            _settings       = settings;
            _globalTunables = globalTunables;

            _numAttacking = globalTunables.NumAttacking;
            _numEnemies   = globalTunables.DesiredNumEnemies;
        }
Exemplo n.º 2
0
        public GameDifficultyHandler(
            EnemyGlobalTunables globalTunables,
            Settings settings)
        {
            _settings = settings;
            _globalTunables = globalTunables;

            _numAttacking = globalTunables.NumAttacking;
            _numEnemies = globalTunables.DesiredNumEnemies;
        }
Exemplo n.º 3
0
 public EnemySpawner(
     PlayerFacade player,
     Settings settings,
     EnemyFacade.Factory enemyFactory,
     EnemyRegistry enemyRegistry,
     EnemyGlobalTunables globalTunables)
 {
     _globalTunables = globalTunables;
     _enemyRegistry = enemyRegistry;
     _enemyFactory = enemyFactory;
     _settings = settings;
     _player = player;
 }
Exemplo n.º 4
0
 public EnemySpawner(
     PlayerFacade player,
     Settings settings,
     EnemyFacade.Factory enemyFactory,
     EnemyRegistry enemyRegistry,
     EnemyGlobalTunables globalTunables)
 {
     _globalTunables = globalTunables;
     _enemyRegistry  = enemyRegistry;
     _enemyFactory   = enemyFactory;
     _settings       = settings;
     _player         = player;
 }
Exemplo n.º 5
0
 public EnemyStateIdle(
     EnemyModel model, Settings settings,
     EnemyStateManager stateManager,
     EnemyRegistry registry,
     PlayerFacade player,
     EnemyGlobalTunables globalTunables)
 {
     _globalTunables = globalTunables;
     _player = player;
     _registry = registry;
     _stateManager = stateManager;
     _settings = settings;
     _model = model;
 }
Exemplo n.º 6
0
 public EnemyStateIdle(
     EnemyModel model, Settings settings,
     EnemyStateManager stateManager,
     EnemyRegistry registry,
     PlayerFacade player,
     EnemyGlobalTunables globalTunables)
 {
     _globalTunables = globalTunables;
     _player         = player;
     _registry       = registry;
     _stateManager   = stateManager;
     _settings       = settings;
     _model          = model;
 }