|
Zappy Server
C++ game server: world, rules, scheduler, network
|
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 |
Represents a tile on the game map, containing resources, player IDs, and egg IDs.
| std::vector<int> Tile::eggIds |
Definition at line 13 of file Tile.hpp.
Referenced by World::_spawnEgg(), World::hatchEgg(), and World::popEggForTeam().
| std::vector<int> Tile::playerIds |
Definition at line 12 of file Tile.hpp.
Referenced by _checkReqs(), _tileContent(), World::addPlayer(), World::movePlayer(), and World::removePlayer().
| Resources Tile::resources |
Definition at line 11 of file Tile.hpp.
Referenced by _checkReqs(), CommandDispatcher::_handleBct(), CommandDispatcher::_handleMct(), HandshakeHandler::_promoteToGui(), _tileContent(), World::setResource(), and World::spawnResources().