Package | Description |
---|---|
games.stumped |
Gather branches and build up your lodge as beavers fight to survive.
|
Modifier and Type | Field and Description |
---|---|
Tile |
Beaver.tile
The Tile this Beaver is on.
|
Tile |
Spawner.tile
The Tile this Spawner is 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> |
Player.lodges
A list of Tiles that contain lodges owned by this player.
|
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 |
Beaver.drop(Tile tile,
java.lang.String resource)
Defaults the value for the optional arg 'amount' to '0'
|
boolean |
Beaver.drop(Tile tile,
java.lang.String resource,
int amount)
Drops some of the given resource on the beaver's Tile.
|
boolean |
Tile.hasNeighbor(Tile tile)
Checks if this Tile has a specific neighboring Tile
|
boolean |
Beaver.move(Tile tile)
Moves this Beaver from its current Tile to an adjacent Tile.
|
boolean |
Beaver.pickup(Tile tile,
java.lang.String resource)
Defaults the value for the optional arg 'amount' to '0'
|
boolean |
Beaver.pickup(Tile tile,
java.lang.String resource,
int amount)
Picks up some branches or food on the beaver's tile.
|
Beaver |
Job.recruit(Tile tile)
Recruits a Beaver of this Job to a lodge.
|
© 2020 MST ACM SIG-GAME