in my actor´s creation event i have "Actor *theleg;" for example.
HOW can i access this pointer in the actor´s draw event?
For example:
- Code: Select all
theleg->x = blabla;
The problem is that the variable "theleg" somehow doesn´t exist in the drawevent.
But i cant make it global using code since i need it for any actor seperately.
Hope my post makes sense. Any help / ideas ?
Thanks in advance!