Package | Description |
---|---|
games.necrowar |
Send hordes of the undead at your opponent while defending yourself against theirs to win.
|
Modifier and Type | Field and Description |
---|---|
Tile |
Unit.tile
The Tile this Unit is on.
|
Tile |
Tower.tile
The Tile this Tower 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.homeBase
The tile that the home base is located on.
|
java.util.List<Tile> |
Player.side
All tiles that this player can build on and move workers 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 |
Unit.attack(Tile tile)
Attacks an enemy tower on an adjacent tile.
|
boolean |
Tower.attack(Tile tile)
Attacks an enemy unit on an tile within it's range.
|
boolean |
Unit.fish(Tile tile)
Stops adjacent to a river tile and begins fishing for mana.
|
boolean |
Tile.hasNeighbor(Tile tile)
Checks if this Tile has a specific neighboring Tile
|
boolean |
Unit.mine(Tile tile)
Enters a mine and is put to work gathering resources.
|
boolean |
Unit.move(Tile tile)
Moves this Unit from its current Tile to an adjacent Tile.
|
© 2020 MST ACM SIG-GAME