Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
WorldState.hpp File Reference
#include <ostream>
#include <string>
#include <unordered_map>
#include <vector>
#include "Orientation.hpp"
#include "Resources.hpp"
#include "VisualState.hpp"
+ Include dependency graph for WorldState.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Player
 Represents a player in the game.
 
struct  Egg
 Represents an egg in the game.
 
class  WorldState
 Represents the state of the world in the game, including the map size, tile contents, players, eggs, and teams. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Player &player)
 
std::ostream & operator<< (std::ostream &os, const Egg &egg)
 

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  os,
const Egg egg 
)
inline

Definition at line 51 of file WorldState.hpp.

References Egg::id, Egg::x, and Egg::y.

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  os,
const Player player 
)
inline