I had a typo as well. It was meant to be InputPanel = new InputPanel(timer);
I wasn't really thinking about the fact that the timer object hadn't really been created yet. My bad.
Type: Posts; User: DougFane
I had a typo as well. It was meant to be InputPanel = new InputPanel(timer);
I wasn't really thinking about the fact that the timer object hadn't really been created yet. My bad.
I guess it depends, if you actually need information from one in order to create the other, then you need to rethink your whole design. However, if you simply need to pass one object to the other's...
Why not just declare and define input before timer. Then you wouldn't have the issue.