title: Assigning a lot of variable on a convenient way
body: <p>I'm working on a game. It goes quite well, now I'm making the playing field. Obviously, the program have to store the coordinates of the objects can be seen on that field. It means lot of objects.</p>
  
  <p>At the moment, I do these assignments in the <code>main(){}</code> function. The problem is that if I want to make a lot of levels, a lot of assignments is necessary. In that case, <code>main(){}</code> would be unnecessarily long. I'd like to avoid that.</p>
  
  <p>My only idea is to create array of objects like this:</p>
  
  <p><code>ClassName ObjectArrayName[NumberOfObjects]</code></p>
  
  <p>...which makes them easier to handle. But it still doesn't help to store coordinates.</p>
  
  <p>Any ideas? </p>