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
9struct Egg {
10 int id;
12 int x;
13 int y;
14 std::string teamName;
15};
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
int y
Definition Egg.hpp:13
int parentPlayerId
Definition Egg.hpp:11
int id
Definition Egg.hpp:10
std::string teamName
Definition Egg.hpp:14
int x
Definition Egg.hpp:12