|
Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
|
A structure to store the game data. More...
#include <server_handler.h>

Data Fields | |
| int | map_size [2] |
| int | frequence |
| ressources_t | ressources_quantity |
| ressources_t | total_ressources |
| team_t * | teams |
| cli_t | clients [MAX_CLIENT] |
| map_t ** | map |
A structure to store the game data.
| map_size | The size of the map (x = 0, y = 1) |
| frequence | The frequence passed in parameter |
| ressources_quantity | The max number, a ressource can have in the map |
| total_ressources | All the ressources in the map |
| teams | Every team data |
| clients | Every client data |
| map | Map content |
Definition at line 119 of file server_handler.h.
| cli_t game_data_s::clients[MAX_CLIENT] |
Definition at line 125 of file server_handler.h.
| int game_data_s::frequence |
Definition at line 121 of file server_handler.h.
| map_t** game_data_s::map |
Definition at line 126 of file server_handler.h.
| int game_data_s::map_size[2] |
Definition at line 120 of file server_handler.h.
| ressources_t game_data_s::ressources_quantity |
Definition at line 122 of file server_handler.h.
| team_t* game_data_s::teams |
Definition at line 124 of file server_handler.h.
| ressources_t game_data_s::total_ressources |
Definition at line 123 of file server_handler.h.