Index
All Classes and Interfaces|All Packages
G
- Game - Class in battleship.model.game
- Game(int, int) - Constructor for class battleship.model.game.Game
-
Create new game.
- GameMode - Enum Class in battleship.model.game
-
Game mode (NO_OPTIONS, TORPEDO_MODE_ENABLE, SHIP_RECOVERY_MODE_ENABLE, All_OPTIONS) .
- GENERAL - Enum constant in enum class battleship.model.game.user.UserState
- GENERAL_FIRING_MODE - Enum constant in enum class battleship.model.game.FiringMode
- getActionsCounter() - Method in class battleship.model.game.user.User
- getCurrentSession() - Method in class battleship.model.game.user.User
- getDirection() - Method in class battleship.model.game.ocean.ShipPosition
- getDown() - Method in record class battleship.model.game.ocean.Point
- getDownAndLeft() - Method in record class battleship.model.game.ocean.Point
- getDownAndRight() - Method in record class battleship.model.game.ocean.Point
- getFleetHealthRemaining() - Method in class battleship.model.game.AttackReport
- getHorizontalSize() - Method in class battleship.view.BattleshipView
- getLeft() - Method in record class battleship.model.game.ocean.Point
- getLength() - Method in class battleship.model.ships.Battleship
- getLength() - Method in class battleship.model.ships.Carrier
- getLength() - Method in class battleship.model.ships.Cruiser
- getLength() - Method in class battleship.model.ships.Destroyer
- getLength() - Method in class battleship.model.ships.Ship
- getLength() - Method in class battleship.model.ships.Submarine
- getMissedResult() - Static method in class battleship.model.game.AttackReport
- getOceanHorizontalLength() - Method in class battleship.view.oceanview.OceanView
-
get horizontal size of Ocean view
- getOceanVerticalLength() - Method in class battleship.view.oceanview.OceanView
-
get vertical size of Ocean view
- getOceanView() - Method in class battleship.view.oceanview.OceanView
- getPointsOccupiedByShip() - Method in class battleship.model.game.AttackReport
- getPointsOccupiedByShip(Ship) - Method in class battleship.model.game.ocean.Ocean
-
get list of points which is occupied by ship
- getPointsToRecover() - Method in class battleship.model.game.Game
-
(only for ship recovery mode)
- getPosition() - Method in class battleship.model.game.AttackReport
-
Get the position being attacked.
- getPosition() - Method in class battleship.model.game.ocean.ShipPosition
- getRandomShipPosition(Ocean, Ship) - Static method in class battleship.model.game.ocean.ShipPosition
-
Places the ship to random position with random direction.
- getRange(Point, Point, ShipPosition.Direction) - Static method in record class battleship.model.game.ocean.Point
-
Get range of points between start and end points.
- getResult() - Method in class battleship.model.game.AttackReport
- getResult(int) - Static method in class battleship.model.game.AttackReport
- getRight() - Method in record class battleship.model.game.ocean.Point
- getShip() - Method in class battleship.model.game.AttackReport
-
Ship which was under attack
- getShipByPosition(Point) - Method in class battleship.model.game.ocean.Ocean
- getSizeHorizontal() - Method in class battleship.model.game.ocean.Ocean
- getSizeVertical() - Method in class battleship.model.game.ocean.Ocean
- getUp() - Method in record class battleship.model.game.ocean.Point
- getUpAndLeft() - Method in record class battleship.model.game.ocean.Point
- getUpAndRight() - Method in record class battleship.model.game.ocean.Point
- getVerticalSize() - Method in class battleship.view.BattleshipView
- getView() - Method in class battleship.controller.BattleshipController
- getX() - Method in class battleship.model.game.ocean.ShipPosition
- getY() - Method in class battleship.model.game.ocean.ShipPosition
All Classes and Interfaces|All Packages