class A has a method test()how i will invoke the method test() from class B.
class A extends CCColorLayer and the class B extends Activity.please help. im stuck!
As far as I know, you just need to create an instance of that class B in your class A, and then call its methods:
AnotherScene *myOtherScene = AnotherScene ::node();myOtherScene->ANYMETHOD();
nope….its not working