Introduction - If you have any usage issues, please Google them yourself
The game is the main interface
Event handling mechanism steps: 1, realizing the monitoring interface, implement the abstract methods at the same time, the 2, remember must be registered to monitor