I feel stupid, but I need help with one simple concept. I've though of a few ways to do it, but I feel like they all are bad methods. I have two classes, Player, and Enemy both in different .cpp files. I have a private member in my Player class that is the players health. I have a function titled TakeDamaga(int th) which I can use to make the player take damage whenever I call the function. However that means ->I<- have to pass in the value every time, I want it to depend on how it corresponds with the enemy objects attack function. Is there a way I can take the attack function from my Enemy class and have it in my TakeDamage function from my player class?