I want to be able to just type a class name and then the object to access it.
Basically kinda like this:
[Please note that ObjectHandeler is a class]GL10 gl = ObjectHandeler.gl;
Is there any way to go about this, and how would I do it? I need a GL10 object that I can access absolutely anywhere.
Thanks in advance. (In the past I just passed around the object using methods, but it isnt very efficient and flexible...)