Football Tactics -> Cross Transfer Chain of Resposibility

zhaozj2021-02-11  170

Connect to:

http://www.9cbs.net/develop/read_article.asp?id=11180

The transverse shun transfer is the best way to find out the attack breakthrough. The biggest progress of the Chinese team is this. This is comparable to Chain of Resposibility mode. The entire striker, avant-garde, and guard line form a chain, decoupled for each player, transfer the offense to a team member (object) passed until the opportunity appears, the appropriate players complete the attack. The benefits are that the players don't have to know when the opportunity appears, as long as the other team members are sparse (easy to complete offense) from the other players (unable to complete offense). It can be randomly changed to make flexible dealing with offensive tasks. The disadvantage is that it may be a half-day, and it has not been off-attack opportunities. The code is as follows: Class players {public: player (player * s): _ Subsequent (s) {} Virtual Void processed ball (); private: player * _ follow-up;

Void player :: Treatment ball () {i (_ successively) {_ subsequent -> processing ball ();}}

Void player :: Processing an offensive request (request * THE request) {switch (the request -> Get Type ()) {Case Shot: Processing Shot ((Time Request *) THE Request); Break; Case Breakthrough: Process Breakthrough ( Break request *) The request); Break; default: Break;}}

Class specific player: public team member {public: Virtual VoID processing request (request * the request);

Void specific player :: Processing request (request * the request) {switch (the request -> Get Type ()) {CASE Breakth Bath: File: // Process Breakthrough Break; Default: File: // Handle other requests Player :: Processing Request (THE Request);}}

转载请注明原文地址:https://www.9cbs.com/read-5229.html

New Post(0)