public EnemySpawnerEngine(Factories.IGameObjectFactory gameobjectFactory, IEntityFactory entityFactory) { _gameobjectFactory = gameobjectFactory; _entityFactory = entityFactory; _numberOfEnemyToSpawn = 15; IntervaledTick().Run(); }
public BonusHealthSpawnerEngine(ISequencer bonusSpawnerSequence, Factories.IGameObjectFactory gameobjectFactory, IEntityFactory entityFactory) { _bonusSpawnerSequence = bonusSpawnerSequence; _gameobjectFactory = gameobjectFactory; _entityFactory = entityFactory; IntervaledTick().Run(); }
public EnemySpawnerEngine(ISequencer enemyWaveSequence, ISequencer enemySpawnSequence, Factories.IGameObjectFactory gameobjectFactory, IEntityFactory entityFactory) { _gameobjectFactory = gameobjectFactory; _entityFactory = entityFactory; this.enemyWaveSequence = enemyWaveSequence; this.enemySpawnSequence = enemySpawnSequence; IntervaledTick().Run(); }
public PlayerGunShootingEngine(EnemyKilledObservable enemyKilledObservable, ISequencer damageSequence, IRayCaster rayCaster, ITime time, Factories.IGameObjectFactory gameobjectFactory, IEntityFactory entityFactory) { _enemyKilledObservable = enemyKilledObservable; _enemyDamageSequence = damageSequence; _rayCaster = rayCaster; _time = time; _taskRoutine = TaskRunner.Instance.AllocateNewTaskRoutine().SetEnumerator(Tick()) .SetScheduler(StandardSchedulers.physicScheduler); _gameObjectFactory = gameobjectFactory; _entityFactory = entityFactory; }
public EnemySpawnerEngine(Factories.IGameObjectFactory gameobjectFactory, IEntityFactory entityFactory, ISequencer enemySpawnSequence) { _gameobjectFactory = gameobjectFactory; _entityFactory = entityFactory; _enemySpawnSequence = enemySpawnSequence; }
public EnemySpawnerEngine(Factories.IGameObjectFactory factory, IEntityFactory entityFactory) { _factory = factory; _entityFactory = entityFactory; TaskRunner.Instance.Run(IntervaledTick); }
public PickupSpawnerEngine(Factories.IGameObjectFactory factory, IEntityFactory entityFactory) { _factory = factory; _entityFactory = entityFactory; TaskRunner.Instance.Run(new TimedLoopActionEnumerator(Tick)); }
public BonusSpawnerEngine(Factories.IGameObjectFactory gameobjectFactory, IEntityFactory entityFactory) { _gameObjectFactory = gameobjectFactory; _entityFactory = entityFactory; }