So I am new here on Stack Overflow and I looked around for the answer to my question but I didn't find what I was looking for (I did some looking around in Timers). I will try to explain it the best that I can.
I am trying to design, in C#, something similar to the way that games like Clash of Clans use timers when you build stuff. So I thought about it quite a bit but I am really stumped.
I am not really sure how to design this. Would I use the Timer class in the .Net Framework? If so, the API seems to confuse me a bit about how I can set up the timer and then set up a second timer if I am building two things at a time (in the example at least). Or perhaps there is better way than a timer...
To be as direct as possible I guess I am asking how can I design a system that takes time for things to happen after something like a button click?
I want to try to get a skeleton using a console app so I can keep things simple.
Thanks for any input you can give.
Ben
Aucun commentaire:
Enregistrer un commentaire