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

2016/5/27

Class removed after creating duplicate

jeffcia jeffcia

2016/5/27

#
I created a duplicate of the Crab class and named it Crab2. Crab shows up in the "Other classes" but not as a child of Actor. How do I move it back so that I can add both Crab and Crab2 objects to the world? Thanks!
danpost danpost

2016/5/27

#
The only way the Crab class would show up in the "Other classes" area is if you removed what class it extended or changed it to something other than Actor or World. Just make sure you have the class extending the Actor class. If you have issues with bringing it back, post the code for the class so we might be able to tell what is happening and why it is not showing up where you want it to.
You need to login to post a reply.