zombieZero
Technical User
Sorry if this is a no-brainer but I'm having trouble tracking this down...I've got a class with a bunch of methods and when the object is created everything works fine. The problem is, I have another class object which I want to interact with the first one, and one of the things I want it to do is note what gets called in the first object (which methods and with which arguements).
I'm thinking there must be a point within the class that you pass through when you call a method where I can take note of that information and pass it to the other object.
In a nutshell: When I call any method within obj1, I want the first thing that happens to be that the command (obj1 runMethod1 arg1 arg2) to get passed to obj2.
Can this be done?
I'm thinking there must be a point within the class that you pass through when you call a method where I can take note of that information and pass it to the other object.
In a nutshell: When I call any method within obj1, I want the first thing that happens to be that the command (obj1 runMethod1 arg1 arg2) to get passed to obj2.
Can this be done?