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

2016/11/22

Need help to Count

McBremen McBremen

2016/11/22

#
Hello there, i need a little help to cont a action from a subclass to another. In some subclass was generate a addObject if the user does the wrong thing and i need to add 1 to a integer from aother subclas. How can i do that? Thanks für help Spricht jemand auch deutsch? Dann kann ich es wohl besser erklären :/
danpost danpost

2016/11/22

#
You need to show (1) the class where the integer is located (indicate which integer it is); (2) the class that needs to add 1 to that integer (indicate where it is to do it); and (3) explain what the integer is to hold and how that value is used in other parts of the program.
You need to login to post a reply.