What to use to store multiple dynamic objects?

Started by TechNick6425, July 14, 2013, 10:05:01

Previous topic - Next topic

TechNick6425

I was reading a tutorial on c++, and it had an object of the type Block***. It seemed as if able to keep track of the cordinates of the block. How would I recreate this is Java?

Raindeer

I don't think this is a matter of OpenGL. You could store the objects simply in an ArrayList.

TechNick6425

Thanks for the tip, but I found I can use "Block[][][]" for the same purpose.

P.S. Sorry I accidentally posted it in the wrong forum.