Hello,
I know how to write Task and Service, but I can’t understand what functions to use in Decorator in C++. For example, how to write such a decorator:
What parent class of such a custom decorator should be?
Hello,
I know how to write Task and Service, but I can’t understand what functions to use in Decorator in C++. For example, how to write such a decorator:
What parent class of such a custom decorator should be?
You can find examples in shooter game example and in Tom Looman’s survival game. Worthy to check both if you deal with AI.
Thank you for the answer. Alas, there are only two Tasks in Tom Looman’s survival game, but in the Shooter Game there is only one Decorator. Only one example. More examples to compare the code?