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

2013/7/2

making an actor "eat" more than one other actor?

grace_lowton 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 Zamoht

2013/7/2

#
Make a super class for all the fish and then look for the super class.
grace_lowton grace_lowton

2013/7/2

#
im not sure how to do this im reallynew:L can you show me an example?
Zamoht Zamoht

2013/7/2

#
Can you show me what you got so far? That would make it a whole lot easier to help you.
simple. repeat the code for the fist fish, simply changing the name of the actor in each time! The DoctorProfessor is out!
the solution is simple. repeat the code for the first fish, then just change the class name! The DoctorProfessor is out!
sorry about me posting two almost identical comments, the computer went crazy.
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.