public void Construct( RabbitFactory rabbitFactory, WolfFactory wolfFactory, DeerFactory deerFactory, GenericPull pull) { _rabbitFactory = rabbitFactory; _wolfFactory = wolfFactory; _deerFactory = deerFactory; _rabbits = new List <Rabbit>(); _wolves = new List <Wolf>(); _deers = new List <Deer>(); _pull = pull; var localScale = ground.transform.localScale; minXAxis = -localScale.x / 2 + 10; maxXAxis = localScale.x / 2 - 10; minZAxis = -localScale.z / 2 + 10; maxZAxis = localScale.z / 2 - 10; }
public BulletPullFactory(GenericPull pull) { _pull = pull; }