This site requires JavaScript, please enable it in your browser!
Greenfoot back
GreenGoo
GreenGoo wrote ...

2013/5/9

Using variables between classes

GreenGoo GreenGoo

2013/5/9

#
I have two classes, a rocket and a forcefield. I need to know the transparency of the forcefield (alpha) when in the rocket class, so I know whether the rocket can take damage or not. How do I do this?
Gevater_Tod4711 Gevater_Tod4711

2013/5/9

#
Try using the information from this tutorial. That may help you.
GreenGoo GreenGoo

2013/5/9

#
Thanks a lot, I just couldn't remember.
You need to login to post a reply.