Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
World Member List

This is the complete list of members for World, including all inherited members.

_eggsWorldprivate
_gameEndedWorldprivate
_heightWorldprivate
_nextEggIdWorldprivate
_nextPlayerIdWorldprivate
_observersWorldprivate
_playersWorldprivate
_rngWorldprivate
_spawnEgg(const std::string &teamName, int x, int y, int parentPlayerId)Worldprivate
_teamNamesWorldprivate
_tilesWorldprivate
_widthWorldprivate
_winnerWorldprivate
addEgg(int playerId)World
addPlayer(int connectionId, const std::string &teamName, int x, int y, Orientation orientation)World
addWorldObserver(IWorldObserver *observer)World
at(int x, int y)World
at(int x, int y) constWorld
checkWin() constWorld
consumeFood(int playerId)World
ejectPlayers(int ejectorId)World
finalizeIncantation(int x, int y, const std::vector< int > &participantIds)World
getEggs() constWorld
getPlayer(int id)World
getPlayers() constWorld
hatchEgg(int eggId)World
height() constWorld
isGameEnded() constWorld
movePlayer(int id, int x, int y)World
playerBroadcast(int playerId, const std::string &message)World
popEggForTeam(const std::string &teamName)World
removePlayer(int id)World
setResource(int playerId, ResourceType type)World
spawnInitialEggs(int countPerTeam)World
spawnResources()World
startIncantation(int playerId)World
takeResource(int playerId, ResourceType type)World
teamEggCount(const std::string &team) constWorld
teamPlayerCount(const std::string &team) constWorld
turnPlayer(int id, Orientation orientation)World
width() constWorld
winner() constWorld
World(int width, int height, const std::vector< std::string > &teamNames, unsigned int seed)World