Computer Science Canada Passing information Classes |
Author: | Pickles [ Sat May 22, 2004 3:59 pm ] | ||||||
Post subject: | Passing information Classes | ||||||
Ok ill try to keep this as organized and to the point as I can.
In my gorillas class, there are the procedures taht set the pos of the gorilla and then draws the gorilla at those coords
This draws the gorillas on the 2nd and 8th building (because the building heights are random i cant just draw them in my run program)
I need to be able to get the position of the two gorillas in order to draw the picture of them throwing over top of it. But i dont have the x and y variables to pass to it because it changes every time. |
Author: | MyPistolsIn3D [ Sat May 22, 2004 4:51 pm ] | ||
Post subject: | |||
I think all you have to do is pass the x and y to the draw command.
|