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
RSekander
wrote ...
2018/5/28
Is it possible to add two of the same object - sidewalls? It wont show up on the screen.
RSekander
2018/5/28
#
//add walls sideWall = new Wall(); addObject(sideWall, 0, 200); addObject(sideWall, 350, 0);
danpost
2018/5/28
#
RSekander wrote...
Is it possible to add two of the same object - sidewalls? It wont show up on the screen.
You are only creating one object. Assign a new
Wall
object to
sideWall
before trying to add a second one into the world.
RSekander
2018/5/29
#
Thank you, I got it :)
You need to login to post a reply.
X