Пример #1
0
 public void Inject(GameObjectPool worldColumnPool, RandomNumberGenerator rand)
 {
     _worldColPool = worldColumnPool;
 }
Пример #2
0
 public void Inject(GameObjectPool objectPool) => ObjectPool = objectPool;
Пример #3
0
 public void Inject(WorldMover worldMover, WorldBuilder worldBuilder, GameObjectPool worldColumnPool)
 {
     _worldMover      = worldMover;
     _worldBuilder    = worldBuilder;
     _worldColumnPool = worldColumnPool;
 }