View Single Post
  #1 (permalink)  
Old 07-31-2007, 06:43 PM
mathias mathias is offline
Member
 
Join Date: Jul 2007
Posts: 40
mathias is on a distinguished road
Help with class loading in java
Hi, My friend and I are trying to make this text-based tactics game with java.

We are trying to make an user interface, via console, as interactive as possible. So, we need quiet of commands. How would you manage all these commands? I was thinking about shoving all the classes into Object[] and calling them as users need it, but we hit the wall when I figured out that it is not possible to instance them all automatically.

What is a good way to manage insane amount of class files and calling them as they fit? Or, should i just paste the whole program of 20000 if/else statements?

Thanks.
Reply With Quote
Sponsored Links