How to use the game message subsystem to decouple?

foreword

Before starting the topic, we need to ask some questions:
(1) What is coupling?
(2) Why decoupling?
(3) How to achieve decoupling?
Programming is a very logical science. The reason why the author often asks questions is to hope that readers can clarify the logical relationship among them, know what is happening, and why. Otherwise, programming will become a running account. There is no inevitable logic at all. It is very important to do this thinking. Asking questions, solving problems, and optimizing solutions are the programming ideas we need.

Guess you like

Origin blog.csdn.net/qq_30137245/article/details/130809120