Originally Posted by
dunnkers
Sorry for all the confusion guys, but what im basically trying to do is using my API in a class without defining variables in everytime.
That's even less helpful...
What API, what variables? You can't call a method without an object to call it on. In a method of class A you can call the methods of class A directly and the methods of other classes via variables - parameters, local variables, or member variables. A class should have a single, clearly defined role, and its methods should relate to that role. That is why we don't put everything into a single class.
Maybe you could explain what you're trying to achieve - just describe the application in terms of function, and explain what Actions, Combat, Handling, and Data are
for - what they do, how they interact. Then perhaps it will be clearer. You may know what you're talking about, but I don't.