Home > other >  GameManager function
GameManager function

Time:09-19

GameManager provide main functions are:
Control the game process, including the control levels at the start of delay, delay between each turn, control whether to allow players to operate, etc., determine whether the game end, etc.;
Initialize the game information, including the generated map, etc.;
Some numerical record game, including the player's life value, the current to the gate level, etc.;
Hold the enemy and other part of the object reference;
Should control the display status of the game, such as display map is being loaded and other auxiliary information;
Control of the game UI,

CodePudding user response:

Is also the contact interface between link, reduce the coupling

CodePudding user response:

Some wrong, point fingers down,,,
  • Related