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

2018/5/28

Is it possible to add two of the same object - sidewalls? It wont show up on the screen.

RSekander RSekander

2018/5/28

#
//add walls sideWall = new Wall(); addObject(sideWall, 0, 200); addObject(sideWall, 350, 0);
danpost 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 RSekander

2018/5/29

#
Thank you, I got it :)
You need to login to post a reply.