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.
Loading...
Searching...
No Matches
Data Fields
game_data_s Struct Reference

A structure to store the game data. More...

#include <server_handler.h>

Collaboration diagram for game_data_s:
Collaboration graph

Data Fields

int map_size [2]
 
int frequence
 
ressources_t ressources_quantity
 
ressources_t total_ressources
 
team_tteams
 
cli_t clients [MAX_CLIENT]
 
map_t ** map
 

Detailed Description

A structure to store the game data.

Parameters
map_sizeThe size of the map (x = 0, y = 1)
frequenceThe frequence passed in parameter
ressources_quantityThe max number, a ressource can have in the map
total_ressourcesAll the ressources in the map
teamsEvery team data
clientsEvery client data
mapMap content

Definition at line 119 of file server_handler.h.

Field Documentation

◆ clients

cli_t game_data_s::clients[MAX_CLIENT]

Definition at line 125 of file server_handler.h.

◆ frequence

int game_data_s::frequence

Definition at line 121 of file server_handler.h.

◆ map

map_t** game_data_s::map

Definition at line 126 of file server_handler.h.

◆ map_size

int game_data_s::map_size[2]

Definition at line 120 of file server_handler.h.

◆ ressources_quantity

ressources_t game_data_s::ressources_quantity

Definition at line 122 of file server_handler.h.

◆ teams

team_t* game_data_s::teams

Definition at line 124 of file server_handler.h.

◆ total_ressources

ressources_t game_data_s::total_ressources

Definition at line 123 of file server_handler.h.


The documentation for this struct was generated from the following file: