public GrenadeThrow(IPull <IGrenadeModel> grenades, Transform throwPoint, ITakeObject takeObject) { _grenades = grenades; _throwPoint = throwPoint; _takeObject = takeObject; _addedGrenades = new List <IGrenadeModel>(); _timers = new List <UpTimer>(); }
public CharacterModel(Transform transform, Transform throwGrenadePosition, Transform setMinePosition, IHealthModel healthModel, ISpeedModel speedModel, float takeRange) { Transform = transform; ThrowGrenadePosition = throwGrenadePosition; SetMinePosition = setMinePosition; HealthModel = healthModel; SpeedModel = speedModel; TakeRange = takeRange; TakeObject = new TakeObject(throwGrenadePosition, takeRange); }
public TakeExecute(ICharacterModel character, Transform takePoint) { _takeObject = new TakeObject(takePoint, character.TakeRange); }
public TakeObjectInput(ITakeObject takeObject) { _takeObjectInput = new PCUserInputTake(); _takeObject = takeObject; }
public GrenadeInput(IPull <IGrenadeModel> grenades, Transform throwGrenadePosition, ITakeObject takeObject) { _grenadeThrow = new GrenadeThrow(grenades, throwGrenadePosition, takeObject); _grenadeInput = new PCUserInputGrenade(); }