Say, I wanna make a game. I introduced some characters (as a class), with health and damage parameters. Now I wanna create a method called "PerformHit" that would perform some attack. Like

```
class fight {
int PerformHit(object1,object2){

return object1.health - object2.damage;
 }
}

```

However, I cannot call an object as method parameter. How do I deal with that?