This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
grace_lowton
wrote ...
2013/7/2
making an actor "eat" more than one other actor?
grace_lowton
2013/7/2
#
i am making a game and need to make a diver collect more than one type of fish, how would i put this in my code?
Zamoht
2013/7/2
#
Make a super class for all the fish and then look for the super class.
grace_lowton
2013/7/2
#
im not sure how to do this im reallynew:L can you show me an example?
Zamoht
2013/7/2
#
Can you show me what you got so far? That would make it a whole lot easier to help you.
DoctorProfessorYoshi
2013/7/2
#
simple. repeat the code for the fist fish, simply changing the name of the actor in each time! The DoctorProfessor is out!
DoctorProfessorYoshi
2013/7/2
#
the solution is simple. repeat the code for the first fish, then just change the class name! The DoctorProfessor is out!
DoctorProfessorYoshi
2013/7/2
#
sorry about me posting two almost identical comments, the computer went crazy.
DoctorProfessorYoshi
2013/7/2
#
the solution is simple. repeat the code for the first fish, then just change the class name! The DoctorProfessor is out!
You need to login to post a reply.
X