Programming a basic back and forth model?
I'm very much a beginner to programming but was looking to create a simple two class project which I could use some help on.
At the moment it consists of "Factory" and "Employee" classes, and I've coded some simple methods where "money" is passed between the two. This simulates on the most basic level an employee working at a factory and later spending their money on the factory stock.
So far, using BlueJ, I can create the objects and manually have them initiate the methods which all works fine. But what I'm trying to do now is automate the process into a basic simulation, so for example I (the user) hit "Run" and the factory/employee objects choose when to start the methods methods themselves. And hopefully this is shown on some sort of visual representation (a table of figures for example).
After I've got this basic model set up I'm looking to add some complexity to it, but wanted to get the basics done first.
However...I have no idea how to start this!
Also I'm only on BlueJ as it's where I learnt the basics, but would it be better to transfer everything to eclipse (or any other platform)?
Any ideas/suggestions most welcome.
Re: Programming a basic back and forth model?
Could you post the original copy of your project so I could understand what exactly you wanted. It looks kind of confusing.