V
V
Vladimir Grabko2016-06-10 18:17:55
Software design
Vladimir Grabko, 2016-06-10 18:17:55

How to implement a bonus system?

I have a system of trophies that can be pumped.
In fact, they can influence any action. Now I think all the user's parameters (upon receipt) should be passed through the class that will give bonuses (everything. Not only from trophies.) Then shove this data into the fines class. Above these classes, build an abstraction (which manages all user data).
Or is there a better solution?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question