Package | Description |
---|---|
games.coreminer |
Mine resources to obtain more value than your opponent.
|
Modifier and Type | Field and Description |
---|---|
Tile |
Player.baseTile
The Tile this Player's base is on.
|
Tile |
Miner.tile
The Tile this Miner is on.
|
Tile |
Bomb.tile
The Tile this Bomb 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.hopperTiles
The Tiles this Player's hoppers are on.
|
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 |
Miner.build(Tile tile,
java.lang.String type)
Builds a support, shield, or ladder on Miner's Tile, or an adjacent Tile.
|
boolean |
Miner.dump(Tile tile,
java.lang.String material,
int amount)
Dumps materials from cargo to an adjacent Tile.
|
boolean |
Tile.hasNeighbor(Tile tile)
Checks if this Tile has a specific neighboring Tile
|
boolean |
Miner.mine(Tile tile,
int amount)
Mines the Tile the Miner is on or an adjacent Tile.
|
boolean |
Miner.move(Tile tile)
Moves this Miner from its current Tile to an adjacent Tile.
|
© 2020 MST ACM SIG-GAME