How many turns a Bartender will be busy for after throwing a Bottle.
All the beer Bottles currently flying across the saloon in the game.
How much damage is applied to neighboring things bit by the Sharpshooter between turns.
Every Cowboy in the game.
The player whose turn it is currently. That player can send commands. Other players cannot.
The current turn number, starting at 0 for the first player's turn.
Every furnishing in the game.
A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID.
All the jobs that Cowboys can be called in with.
The number of Tiles in the map along the y (vertical) axis.
The number of Tiles in the map along the x (horizontal) axis.
The maximum number of Cowboys a Player can bring into the saloon of each specific job.
The maximum number of turns before the game will automatically end.
List of all the players in the game.
When a player's rowdiness reaches or exceeds this number their Cowboys take a collective siesta.
A unique identifier for the game instance that is being played.
How much damage is applied to things hit by Sharpshooters when they act.
How long siestas are for a player's team.
All the tiles in the map, stored in Row-major order. Use x + y *
mapWidth
to access the correct index.
The amount of time (in nano-seconds) added after each player performs a turn.
How many turns a Cowboy will be drunk for if a bottle breaks on it.
Gets the Tile at a specified (x, y) position
an integer between 0 and the mapWidth
an integer between 0 and the mapHeight
the Tile at (x, y) or null if out of bounds
Generated using TypeDoc
Use cowboys to have a good time and play some music on a Piano, while brawling with enemy Cowboys.