public void Initialize(IAttackableTarget sourceParam, ITarget targetParam, SpellData data) { source = sourceParam; target = targetParam; baseData = data; InitializeData(data); InitView(); }
public Weapon(int damageParam, IPool<GameObject> bulletPoolParam, IAttackableTarget sourceParam) { damage = damageParam; bulletPool = bulletPoolParam; source = sourceParam; }