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

2013/5/19

2d array for world

henrYoda henrYoda

2013/5/19

#
Ok. I am going to start this over again since my other discussion was getting messy. I need to have a world class that has a 2d array. I want it to be like: int myTwoDArray = { {0, 0, 0, 0, 0}, {2, 0, 1, 0, 2}, {0, 0, 0, 0, 0} }; Where 0 is nothing, 1 is the player, etc. All the code that was given to me in the other discussion isn't working. Can someone(Like danpost) please give me the complete code I need, I would really appreciate it. Thanks, -henrYoda
thssfrnssssmnt thssfrnssssmnt

2013/5/19

#
this 1 will get messy 2
You need to login to post a reply.