C
Crirus
I have this game application:
A top clas called Game
A class called Player.
Game class have lots of instances of Player
Player have lots of instances of Unit, wich is base clas for every unit a
player create.
The same for Building.. etc
At a certain point, I have to run ... say a battle calculation and take in
account all this objects...
Can you tell me some good ways to handle all this, flexible and easy?
I'm asking how to maintain all this references in some arrays or specialized
classes I didnt discovered yet in net etc..
Thanks,
Cirrus
A top clas called Game
A class called Player.
Game class have lots of instances of Player
Player have lots of instances of Unit, wich is base clas for every unit a
player create.
The same for Building.. etc
At a certain point, I have to run ... say a battle calculation and take in
account all this objects...
Can you tell me some good ways to handle all this, flexible and easy?
I'm asking how to maintain all this references in some arrays or specialized
classes I didnt discovered yet in net etc..
Thanks,
Cirrus