package
0.0.0-20220731194155-2379a7fc364b
Repository: https://github.com/verath/archipelago.git
Documentation: pkg.go.dev
# Functions
DecodeActionGameLaunch transforms an ActionGameLaunch to its representation in the game model.
DecodeActionGameLeave transforms an ActionGameLeave to its representation in the game model.
EncodeAirplane transforms a game model Airplane to its wire representation.
EncodeArmy transforms a game model Army to its wire representation.
EncodeCoordinate transforms a game model Coordinate to its wire representation.
EncodeEventGameOver transforms a game model PlayerEventGameOver to its wire representation.
EncodeEventGameStart transforms a game model PlayerEventGameStart to its wire representation.
EncodeEventGameTick transforms a game model PlayerEventTick to its wire representation.
EncodeFloatCoordinate transforms a game model FloatCoordinate to its wire representation.
EncodeGame transforms a game model Game to its wire representation.
EncodeIsland transforms a game model Island to its wire representation.
EncodePlayer transforms a game model Player to its wire representation.
EncodePlayerState transforms a game model PlayerState to its wire representation.
# Constants
ALIVE is when still alive in the game.
DEAD is when dead and will remain dead.
LEFT_GAME is when the Player has left the game.
PENDING_REVIVAL is when dead, but may be revived.
# Variables
No description provided by the author
Enum value maps for PlayerState.
Enum value maps for PlayerState.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
PlayerState represents the current exclusive state of a Player.