public StateService( IHealthModel model, IStateServiceConfig config, HttpClient client) { _model = model; _config = config; _client = client; _model.PropertyChanged += Model_PropertyChanged; }
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 HealthViewModel(IHealthModel healthModel) { _healthModel = healthModel; }