i need to invoke a method of class A (it extends CCColorLayer) from a method of class B (it extends activity). How is it possible? Tried creating object for Class A in class B. But its not the solution. Each time its creating different layer. please help.
Thanks in advance.