Screen Control Flow - LourencoNeto/FMS GitHub Wiki

The group decided to divide the project in 2 parts:

  1. First, it would be created each window of the game as a Class, to make unit test with each of them;
  2. Second, each class would be converted to auxiliar functions for the use of a main function

How it works?

The main function calls the first function, responsible to draw the initial menu. The user will iteracts with it Then, until the user don't press the QUIT button, the main function will be calling the next window on the flow.

See it below:

Initial menu -> Selection menu -> Manager menu -> Game menu -> Stop menu (If the user requires for it) -> Game menu -> Manager menu -> Game menu -> ....

If you want to know what which menu does, see the Window page