Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
Egg Struct Reference

Represents an egg in the game, which has an ID, position (x, y), and it's associated with a team name. More...

#include <Egg.hpp>

+ Collaboration diagram for Egg:

Public Attributes

int id
 
int parentPlayerId
 
int x
 
int y
 
std::string teamName
 

Detailed Description

Represents an egg in the game, which has an ID, position (x, y), and it's associated with a team name.

Definition at line 9 of file Egg.hpp.

Member Data Documentation

◆ id

int Egg::id

Definition at line 10 of file Egg.hpp.

Referenced by World::popEggForTeam().

◆ parentPlayerId

int Egg::parentPlayerId

Definition at line 11 of file Egg.hpp.

◆ teamName

std::string Egg::teamName

Definition at line 14 of file Egg.hpp.

◆ x

int Egg::x

Definition at line 12 of file Egg.hpp.

Referenced by World::popEggForTeam().

◆ y

int Egg::y

Definition at line 13 of file Egg.hpp.

Referenced by World::popEggForTeam().


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