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

Represents a tile on the game map, containing resources, player IDs, and egg IDs. More...

#include <Tile.hpp>

+ Collaboration diagram for Tile:

Public Attributes

Resources resources
 
std::vector< int > playerIds
 
std::vector< int > eggIds
 

Detailed Description

Represents a tile on the game map, containing resources, player IDs, and egg IDs.

Definition at line 10 of file Tile.hpp.

Member Data Documentation

◆ eggIds

std::vector<int> Tile::eggIds

Definition at line 13 of file Tile.hpp.

Referenced by World::_spawnEgg(), World::hatchEgg(), and World::popEggForTeam().

◆ playerIds

std::vector<int> Tile::playerIds

◆ resources


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