Package | Description |
---|---|
games.saloon |
Use cowboys to have a good time and play some music on a Piano, while brawling with enemy Cowboys.
|
Modifier and Type | Field and Description |
---|---|
Tile |
YoungGun.callInTile
The Tile that a Cowboy will be called in on if this YoungGun calls in a Cowboy.
|
Tile |
Cowboy.tile
The Tile that this Cowboy is located on.
|
Tile |
Bottle.tile
The Tile this bottle is currently flying over.
|
Tile |
YoungGun.tile
The Tile this YoungGun is currently on.
|
Tile |
Furnishing.tile
The Tile that this Furnishing is located on.
|
Tile |
Tile.tileEast
The Tile to the 'East' of this one (x+1, y).
|
Tile |
Tile.tileNorth
The Tile to the 'North' of this one (x, y-1).
|
Tile |
Tile.tileSouth
The Tile to the 'South' of this one (x, y+1).
|
Tile |
Tile.tileWest
The Tile to the 'West' of this one (x-1, y).
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Tile> |
Game.tiles
All the tiles in the map, stored in Row-major order.
|
Modifier and Type | Method and Description |
---|---|
Tile |
Game.getTileAt(int x,
int y)
Gets the Tile at a specified (x, y) position
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Tile> |
Tile.getNeighbors()
Gets the neighbors of this Tile
|
Modifier and Type | Method and Description |
---|---|
boolean |
Cowboy.act(Tile tile)
Defaults the value for the optional arg 'drunkDirection' to '""'
|
boolean |
Cowboy.act(Tile tile,
java.lang.String drunkDirection)
Does their job's action on a Tile.
|
boolean |
Tile.hasNeighbor(Tile tile)
Checks if this Tile has a specific neighboring Tile
|
boolean |
Cowboy.move(Tile tile)
Moves this Cowboy from its current Tile to an adjacent Tile.
|
© 2020 MST ACM SIG-GAME