public virtual void DoAttack(BaseGameEntity receiver, int damage) { receiver.ReceiveAttack(this, damage); cooldown = attackCooldown; }