protected virtual void OnTriggerEnter2D(Collider2D other)
 {
     if (harmEnemies && other.CompareTag("Enemy"))
     {
         healthController hc = other.GetComponent <healthController>();
         hc.takeDamage(3.0f);
     }
 }
 // Update is called once per frame
 void Update()
 {
     hc.takeDamage(dps * Time.deltaTime);
 }