Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
Egg.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
9
struct
Egg
{
10
int
id
;
11
int
parentPlayerId
;
12
int
x
;
13
int
y
;
14
std::string
teamName
;
15
};
Egg
Represents an egg in the game, which has an ID, position (x, y), and it's associated with a team name...
Definition
Egg.hpp:9
Egg::y
int y
Definition
Egg.hpp:13
Egg::parentPlayerId
int parentPlayerId
Definition
Egg.hpp:11
Egg::id
int id
Definition
Egg.hpp:10
Egg::teamName
std::string teamName
Definition
Egg.hpp:14
Egg::x
int x
Definition
Egg.hpp:12
server
src
core
data
Egg.hpp
Generated by
1.9.8