Quote:Original post by fanaticlaticI'm not using XNA. I'm making a little sim/manager in WinForms.
The object instance would be a Game object see your program.cs file i believe the object will be called "Game1" providing you have not changed the program.cs source.
Quote:Original post by benryvesThat box kills me sometimes. Try to type something like 's' and you get set automatically typed for you, when all you wanted was 's'.
Of course, typing this. also causes the autocomplete box to pop up, so helps if you're lazy. [wink]
I have a similar question, so no need for a new thread.
The workers list will be a list of all possible workers. I also have a list of companies that can hire these workers, and I want them to each have a list referencing/pointing to workers in the first list.
I also want to make another list filled with the same workers, but sorted, so that the companies can scan this list in order to find good hires. I'm wondering how to go about this.
Is this the right thing to do?
Worker temp = Parent.Workers;
Company[n].Workers.Add(temp);
Or maybe I want a list of iterators or something?