From 3989f0fe55cfb4d7ce3e910b5eac816c10d78484 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sun, 3 May 2020 18:14:17 +0200 Subject: [PATCH] Legger til javadoc --- docs/javadoc/allclasses-frame.html | 84 ++ docs/javadoc/allclasses-noframe.html | 84 ++ docs/javadoc/constant-values.html | 158 +++ docs/javadoc/deprecated-list.html | 122 ++ docs/javadoc/help-doc.html | 223 ++++ docs/javadoc/index-files/index-1.html | 157 +++ docs/javadoc/index-files/index-10.html | 139 ++ docs/javadoc/index-files/index-11.html | 175 +++ docs/javadoc/index-files/index-12.html | 153 +++ docs/javadoc/index-files/index-13.html | 133 ++ docs/javadoc/index-files/index-14.html | 131 ++ docs/javadoc/index-files/index-15.html | 251 ++++ docs/javadoc/index-files/index-16.html | 137 ++ docs/javadoc/index-files/index-17.html | 264 ++++ docs/javadoc/index-files/index-18.html | 330 +++++ docs/javadoc/index-files/index-19.html | 191 +++ docs/javadoc/index-files/index-2.html | 159 +++ docs/javadoc/index-files/index-20.html | 155 +++ docs/javadoc/index-files/index-21.html | 203 +++ docs/javadoc/index-files/index-22.html | 145 +++ docs/javadoc/index-files/index-3.html | 197 +++ docs/javadoc/index-files/index-4.html | 187 +++ docs/javadoc/index-files/index-5.html | 157 +++ docs/javadoc/index-files/index-6.html | 143 +++ docs/javadoc/index-files/index-7.html | 675 ++++++++++ docs/javadoc/index-files/index-8.html | 175 +++ docs/javadoc/index-files/index-9.html | 201 +++ docs/javadoc/index.html | 75 ++ .../javadoc/inf112/fiasko/roborally/Main.html | 270 ++++ .../roborally/networking/RequestState.html | 376 ++++++ .../roborally/networking/RoboRallyClient.html | 352 ++++++ .../roborally/networking/RoboRallyServer.html | 386 ++++++ .../networking/containers/ErrorResponse.html | 341 +++++ .../containers/GameStartInfoResponse.html | 345 +++++ .../networking/containers/HandResponse.html | 322 +++++ .../networking/containers/HurryResponse.html | 236 ++++ .../networking/containers/OkayResponse.html | 236 ++++ .../PowerDownContainerResponse.html | 299 +++++ .../ProgramAndPowerdownRequest.html | 299 +++++ .../containers/ProgramsContainerResponse.html | 322 +++++ .../containers/UsernameRequest.html | 299 +++++ .../networking/containers/package-frame.html | 28 + .../containers/package-summary.html | 188 +++ .../networking/containers/package-tree.html | 143 +++ .../roborally/networking/package-frame.html | 25 + .../roborally/networking/package-summary.html | 165 +++ .../roborally/networking/package-tree.html | 148 +++ .../roborally/objects/AbstractDeck.html | 506 ++++++++ .../fiasko/roborally/objects/Board.html | 1126 +++++++++++++++++ .../roborally/objects/BoardElement.html | 295 +++++ .../objects/BoardElementContainer.html | 313 +++++ .../inf112/fiasko/roborally/objects/Deck.html | 397 ++++++ .../roborally/objects/DrawableGame.html | 386 ++++++ .../roborally/objects/DrawableObject.html | 516 ++++++++ .../inf112/fiasko/roborally/objects/Grid.html | 314 +++++ .../roborally/objects/InteractableGame.html | 474 +++++++ .../fiasko/roborally/objects/ListGrid.html | 431 +++++++ .../fiasko/roborally/objects/Particle.html | 381 ++++++ .../fiasko/roborally/objects/Phase.html | 441 +++++++ .../fiasko/roborally/objects/Player.html | 462 +++++++ .../roborally/objects/ProgrammingCard.html | 378 ++++++ .../objects/ProgrammingCardDeck.html | 274 ++++ .../roborally/objects/RoboRallyGame.html | 818 ++++++++++++ .../fiasko/roborally/objects/Robot.html | 629 +++++++++ .../inf112/fiasko/roborally/objects/Tile.html | 381 ++++++ .../fiasko/roborally/objects/TwoTuple.html | 302 +++++ .../inf112/fiasko/roborally/objects/Wall.html | 381 ++++++ .../roborally/objects/package-frame.html | 42 + .../roborally/objects/package-summary.html | 269 ++++ .../roborally/objects/package-tree.html | 160 +++ .../roborally/objects/properties/Action.html | 421 ++++++ .../objects/properties/Direction.html | 577 +++++++++ .../objects/properties/GameState.html | 496 ++++++++ .../objects/properties/ParticleType.html | 493 ++++++++ .../objects/properties/Position.html | 341 +++++ .../roborally/objects/properties/RobotID.html | 478 +++++++ .../objects/properties/TileType.html | 883 +++++++++++++ .../objects/properties/WallType.html | 463 +++++++ .../objects/properties/package-frame.html | 30 + .../objects/properties/package-summary.html | 195 +++ .../objects/properties/package-tree.html | 153 +++ .../fiasko/roborally/package-frame.html | 20 + .../fiasko/roborally/package-summary.html | 142 +++ .../inf112/fiasko/roborally/package-tree.html | 135 ++ .../fiasko/roborally/ui/RoboRallyUI.html | 331 +++++ .../fiasko/roborally/ui/RoboRallyWrapper.html | 610 +++++++++ .../fiasko/roborally/ui/ScreenManager.html | 477 +++++++ .../fiasko/roborally/ui/SimpleButton.html | 287 +++++ .../fiasko/roborally/ui/package-frame.html | 26 + .../fiasko/roborally/ui/package-summary.html | 171 +++ .../fiasko/roborally/ui/package-tree.html | 145 +++ .../roborally/ui/screens/AbstractScreen.html | 496 ++++++++ .../ui/screens/BoardActiveScreen.html | 494 ++++++++ .../ui/screens/CardChoiceScreen.html | 370 ++++++ .../roborally/ui/screens/CardRectangle.html | 315 +++++ .../roborally/ui/screens/IPAddressScreen.html | 314 +++++ .../ui/screens/InteractiveScreen.html | 466 +++++++ .../roborally/ui/screens/LoadingScreen.html | 314 +++++ .../roborally/ui/screens/LobbyScreen.html | 364 ++++++ .../roborally/ui/screens/PowerDownScreen.html | 333 +++++ .../roborally/ui/screens/StartMenuScreen.html | 314 +++++ .../roborally/ui/screens/UsernameScreen.html | 333 +++++ .../roborally/ui/screens/WinnerScreen.html | 314 +++++ .../roborally/ui/screens/package-frame.html | 31 + .../roborally/ui/screens/package-summary.html | 208 +++ .../roborally/ui/screens/package-tree.html | 152 +++ .../roborally/utility/BoardLoaderUtil.html | 282 +++++ .../roborally/utility/DeckLoaderUtil.html | 303 +++++ .../fiasko/roborally/utility/GridUtil.html | 311 +++++ .../fiasko/roborally/utility/IOUtil.html | 276 ++++ .../fiasko/roborally/utility/LaserHelper.html | 304 +++++ .../fiasko/roborally/utility/NetworkUtil.html | 277 ++++ .../roborally/utility/ResourceUtil.html | 245 ++++ .../fiasko/roborally/utility/StringUtil.html | 281 ++++ .../utility/TextureConverterUtil.html | 513 ++++++++ .../roborally/utility/package-frame.html | 28 + .../roborally/utility/package-summary.html | 188 +++ .../roborally/utility/package-tree.html | 143 +++ docs/javadoc/overview-frame.html | 28 + docs/javadoc/overview-summary.html | 161 +++ docs/javadoc/overview-tree.html | 234 ++++ docs/javadoc/package-list | 8 + docs/javadoc/script.js | 30 + docs/javadoc/stylesheet.css | 574 +++++++++ 124 files changed, 35538 insertions(+) create mode 100644 docs/javadoc/allclasses-frame.html create mode 100644 docs/javadoc/allclasses-noframe.html create mode 100644 docs/javadoc/constant-values.html create mode 100644 docs/javadoc/deprecated-list.html create mode 100644 docs/javadoc/help-doc.html create mode 100644 docs/javadoc/index-files/index-1.html create mode 100644 docs/javadoc/index-files/index-10.html create mode 100644 docs/javadoc/index-files/index-11.html create mode 100644 docs/javadoc/index-files/index-12.html create mode 100644 docs/javadoc/index-files/index-13.html create mode 100644 docs/javadoc/index-files/index-14.html create mode 100644 docs/javadoc/index-files/index-15.html create mode 100644 docs/javadoc/index-files/index-16.html create mode 100644 docs/javadoc/index-files/index-17.html create mode 100644 docs/javadoc/index-files/index-18.html create mode 100644 docs/javadoc/index-files/index-19.html create mode 100644 docs/javadoc/index-files/index-2.html create mode 100644 docs/javadoc/index-files/index-20.html create mode 100644 docs/javadoc/index-files/index-21.html create mode 100644 docs/javadoc/index-files/index-22.html create mode 100644 docs/javadoc/index-files/index-3.html create mode 100644 docs/javadoc/index-files/index-4.html create mode 100644 docs/javadoc/index-files/index-5.html create mode 100644 docs/javadoc/index-files/index-6.html create mode 100644 docs/javadoc/index-files/index-7.html create mode 100644 docs/javadoc/index-files/index-8.html create mode 100644 docs/javadoc/index-files/index-9.html create mode 100644 docs/javadoc/index.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/Main.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/containers/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/networking/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Board.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Deck.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Grid.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Particle.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Phase.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Player.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Robot.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Tile.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/Wall.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/objects/properties/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyWrapper.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/ScreenManager.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/SimpleButton.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/AbstractScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/BoardActiveScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/CardChoiceScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/CardRectangle.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/IPAddressScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/InteractiveScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/LoadingScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/LobbyScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/PowerDownScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/StartMenuScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/UsernameScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/WinnerScreen.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/ui/screens/package-tree.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/BoardLoaderUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/DeckLoaderUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/GridUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/IOUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/LaserHelper.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/NetworkUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/ResourceUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/StringUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/TextureConverterUtil.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/package-frame.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/package-summary.html create mode 100644 docs/javadoc/inf112/fiasko/roborally/utility/package-tree.html create mode 100644 docs/javadoc/overview-frame.html create mode 100644 docs/javadoc/overview-summary.html create mode 100644 docs/javadoc/overview-tree.html create mode 100644 docs/javadoc/package-list create mode 100644 docs/javadoc/script.js create mode 100644 docs/javadoc/stylesheet.css diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html new file mode 100644 index 0000000..b011fbf --- /dev/null +++ b/docs/javadoc/allclasses-frame.html @@ -0,0 +1,84 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..05c617a --- /dev/null +++ b/docs/javadoc/allclasses-noframe.html @@ -0,0 +1,84 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/docs/javadoc/constant-values.html b/docs/javadoc/constant-values.html new file mode 100644 index 0000000..cb7069b --- /dev/null +++ b/docs/javadoc/constant-values.html @@ -0,0 +1,158 @@ + + + + + +Constant Field Values + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

inf112.fiasko.*

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/deprecated-list.html b/docs/javadoc/deprecated-list.html new file mode 100644 index 0000000..3213612 --- /dev/null +++ b/docs/javadoc/deprecated-list.html @@ -0,0 +1,122 @@ + + + + + +Deprecated List + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/help-doc.html b/docs/javadoc/help-doc.html new file mode 100644 index 0000000..fb71d29 --- /dev/null +++ b/docs/javadoc/help-doc.html @@ -0,0 +1,223 @@ + + + + + +API Help + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-1.html b/docs/javadoc/index-files/index-1.html new file mode 100644 index 0000000..0537f38 --- /dev/null +++ b/docs/javadoc/index-files/index-1.html @@ -0,0 +1,157 @@ + + + + + +A-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

A

+
+
AbstractDeck<T> - Class in inf112.fiasko.roborally.objects
+
+
This class represents a deck of cards
+
+
AbstractDeck() - Constructor for class inf112.fiasko.roborally.objects.AbstractDeck
+
 
+
AbstractDeck(List<T>) - Constructor for class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Initializes the deck with cards
+
+
AbstractScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This class overrides methods of screens which are often unused
+
+
AbstractScreen() - Constructor for class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
Action - Enum in inf112.fiasko.roborally.objects.properties
+
+
This enum represents an action on a programming card
+
+
addLeadingZeros(int, int) - Static method in class inf112.fiasko.roborally.utility.StringUtil
+
+
Adds zeros to a number until it reaches a set length and converts it to a string
+
+
applicationHeight - Variable in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
applicationWidth - Variable in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
arePerpendicular(Direction, Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Checks whether two directions are perpendicular
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-10.html b/docs/javadoc/index-files/index-10.html new file mode 100644 index 0000000..e7b563f --- /dev/null +++ b/docs/javadoc/index-files/index-10.html @@ -0,0 +1,139 @@ + + + + + +K-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

K

+
+
keyDown(int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
keyTyped(char) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
keyTyped(char) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
keyUp(int) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
keyUp(int) - Method in class inf112.fiasko.roborally.ui.screens.CardChoiceScreen
+
 
+
keyUp(int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
keyUp(int) - Method in class inf112.fiasko.roborally.ui.screens.LobbyScreen
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-11.html b/docs/javadoc/index-files/index-11.html new file mode 100644 index 0000000..d80e124 --- /dev/null +++ b/docs/javadoc/index-files/index-11.html @@ -0,0 +1,175 @@ + + + + + +L-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

L

+
+
LaserHelper - Class in inf112.fiasko.roborally.utility
+
+
Helps with displaying laser beams
+
+
LaserHelper() - Constructor for class inf112.fiasko.roborally.utility.LaserHelper
+
 
+
ListGrid<K> - Class in inf112.fiasko.roborally.objects
+
+
This class represents a grid which can store anything
+
+
ListGrid(int, int) - Constructor for class inf112.fiasko.roborally.objects.ListGrid
+
+
Initializes an empty grid
+
+
ListGrid(int, int, K) - Constructor for class inf112.fiasko.roborally.objects.ListGrid
+
+
Initializes a grid filled with standard tiles.
+
+
loadBoard(String, List<Robot>) - Static method in class inf112.fiasko.roborally.utility.BoardLoaderUtil
+
+
Loads a board described in a file
+
+
loadBoardRotated(String, List<Robot>, boolean) - Static method in class inf112.fiasko.roborally.utility.BoardLoaderUtil
+
+
Loads and rotates a board described in a file
+
+
LoadingScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen is used to wait for something
+
+
LoadingScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.LoadingScreen
+
+
Instantiates a new loading screen
+
+
loadProgrammingCardsDeck() - Static method in class inf112.fiasko.roborally.utility.DeckLoaderUtil
+
+
Returns a programming card deck containing all official programming cards
+
+
loadProgrammingCardsTestDeck() - Static method in class inf112.fiasko.roborally.utility.DeckLoaderUtil
+
+
Returns a programming card deck containing nine cards to use for testing
+
+
LobbyScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen allows the host to wait for players to join
+
+
LobbyScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.LobbyScreen
+
+
Instantiates a new lobby screen
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-12.html b/docs/javadoc/index-files/index-12.html new file mode 100644 index 0000000..b44895d --- /dev/null +++ b/docs/javadoc/index-files/index-12.html @@ -0,0 +1,153 @@ + + + + + +M-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

M

+
+
Main - Class in inf112.fiasko.roborally
+
+
The mail class which runs the game
+
+
Main() - Constructor for class inf112.fiasko.roborally.Main
+
 
+
main(String[]) - Static method in class inf112.fiasko.roborally.Main
+
 
+
makeMove(RobotID, Action) - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Makes the given robot move according to to the action input.
+
+
mouseMoved(int, int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
moveAllConveyorBelts() - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Moves robots standing on conveyor belts in the direction of the conveyor belt + + In addition, the function rotates appropriately when arriving at any non-straight conveyor belt.
+
+
moveRobot(RobotID, Direction) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Moves a robot one unit in a specified direction
+
+
moveRobotForward(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Moves a robot one unit forward according to the direction it's currently facing
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-13.html b/docs/javadoc/index-files/index-13.html new file mode 100644 index 0000000..3bd7bbe --- /dev/null +++ b/docs/javadoc/index-files/index-13.html @@ -0,0 +1,133 @@ + + + + + +N-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

N

+
+
networkPort - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
NetworkUtil - Class in inf112.fiasko.roborally.utility
+
+
This class helps with networking tasks
+
+
NetworkUtil() - Constructor for class inf112.fiasko.roborally.utility.NetworkUtil
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-14.html b/docs/javadoc/index-files/index-14.html new file mode 100644 index 0000000..99cca0d --- /dev/null +++ b/docs/javadoc/index-files/index-14.html @@ -0,0 +1,131 @@ + + + + + +O-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

O

+
+
OkayResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
An empty response telling the client its request was fulfilled
+
+
OkayResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.OkayResponse
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-15.html b/docs/javadoc/index-files/index-15.html new file mode 100644 index 0000000..2caea8e --- /dev/null +++ b/docs/javadoc/index-files/index-15.html @@ -0,0 +1,251 @@ + + + + + +P-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

P

+
+
Particle - Class in inf112.fiasko.roborally.objects
+
+
This class represents a particle
+
+
Particle(ParticleType, Direction) - Constructor for class inf112.fiasko.roborally.objects.Particle
+
+
Instantiates a new particle
+
+
ParticleType - Enum in inf112.fiasko.roborally.objects.properties
+
+
This enum represents all possible particle types
+
+
pause() - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
peekBottom() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Looks at the bottom card of the deck
+
+
peekBottom() - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Takes a peek at the card currently at the bottom of the deck
+
+
peekTop() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Looks at the top card in the deck
+
+
peekTop() - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Takes a peek at the card currently at the top of the deck
+
+
Phase - Class in inf112.fiasko.roborally.objects
+
+
This class handles everything that should happen during a phase
+
+
Phase(Board, List<Player>, int, InteractableGame) - Constructor for class inf112.fiasko.roborally.objects.Phase
+
+
Instantiates a new phase
+
+
Player - Class in inf112.fiasko.roborally.objects
+
+
This class represents a player
+
+
Player(RobotID, String) - Constructor for class inf112.fiasko.roborally.objects.Player
+
+
Instantiates a new player
+
+
Player() - Constructor for class inf112.fiasko.roborally.objects.Player
+
+
Empty constructor required by kryo
+
+
playerGenerator(Map<Connection, String>, Map<Connection, RobotID>) - Static method in class inf112.fiasko.roborally.utility.IOUtil
+
+
Generates a list of players from a map of player names and a map of robot ids
+
+
Position - Class in inf112.fiasko.roborally.objects.properties
+
+
This class represent a position on the board
+
+
Position(int, int) - Constructor for class inf112.fiasko.roborally.objects.properties.Position
+
+
Initializes the position
+
+
PowerDownContainerResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
This class is used to contain power down status for all players
+
+
PowerDownContainerResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.PowerDownContainerResponse
+
+
Empty constructor required by KryoNet.
+
+
PowerDownContainerResponse(Map<String, Boolean>) - Constructor for class inf112.fiasko.roborally.networking.containers.PowerDownContainerResponse
+
+
Instantiates a new power down container
+
+
PowerDownScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen is used for asking players whether they want to power down
+
+
PowerDownScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.PowerDownScreen
+
+
Instantiates a new power down screen
+
+
ProgramAndPowerdownRequest - Class in inf112.fiasko.roborally.networking.containers
+
 
+
ProgramAndPowerdownRequest() - Constructor for class inf112.fiasko.roborally.networking.containers.ProgramAndPowerdownRequest
+
+
Empty constructor required by KryoNet.
+
+
ProgramAndPowerdownRequest(Boolean, List<ProgrammingCard>) - Constructor for class inf112.fiasko.roborally.networking.containers.ProgramAndPowerdownRequest
+
 
+
ProgrammingCard - Class in inf112.fiasko.roborally.objects
+
+
This class represents a programming card
+
+
ProgrammingCard(int, Action) - Constructor for class inf112.fiasko.roborally.objects.ProgrammingCard
+
+
Initializes the priority and the action of the card
+
+
ProgrammingCard() - Constructor for class inf112.fiasko.roborally.objects.ProgrammingCard
+
+
Empty constructor required by KryoNet.
+
+
ProgrammingCardDeck - Class in inf112.fiasko.roborally.objects
+
+
This class represents a deck containing programming cards
+
+
ProgrammingCardDeck(List<ProgrammingCard>) - Constructor for class inf112.fiasko.roborally.objects.ProgrammingCardDeck
+
+
Initializes the PlayerDeck with a list of cards
+
+
ProgrammingCardDeck() - Constructor for class inf112.fiasko.roborally.objects.ProgrammingCardDeck
+
+
Empty constructor required by KryoNet.
+
+
ProgramsContainerResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
This class contains information about all players' programs and whether they want to enter power down
+
+
ProgramsContainerResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.ProgramsContainerResponse
+
+
Empty constructor required by KryoNet.
+
+
ProgramsContainerResponse(Map<String, List<ProgrammingCard>>, Map<String, Boolean>) - Constructor for class inf112.fiasko.roborally.networking.containers.ProgramsContainerResponse
+
+
Instantiates a new programs container
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-16.html b/docs/javadoc/index-files/index-16.html new file mode 100644 index 0000000..88c93d5 --- /dev/null +++ b/docs/javadoc/index-files/index-16.html @@ -0,0 +1,137 @@ + + + + + +Q-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

Q

+
+
quit(String) - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
+
+
Quits the game in whatever way is appropriate
+
+
quit(String) - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
+
Quits the game after logging the input as an error
+
+
quit() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
+
Quits the game
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-17.html b/docs/javadoc/index-files/index-17.html new file mode 100644 index 0000000..41c5a94 --- /dev/null +++ b/docs/javadoc/index-files/index-17.html @@ -0,0 +1,264 @@ + + + + + +R-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

R

+
+
receiveAllPrograms(ProgramsContainerResponse) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Continues turn when programs for all players are received from the server
+
+
receiveAllPrograms(ProgramsContainerResponse) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
receiveStayInPowerDown(PowerDownContainerResponse) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Continues turn when stay in power down is received from all players
+
+
receiveStayInPowerDown(PowerDownContainerResponse) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
rectangle - Variable in class inf112.fiasko.roborally.ui.screens.CardRectangle
+
 
+
registerClasses(Kryo) - Static method in class inf112.fiasko.roborally.utility.NetworkUtil
+
+
Registers all classes which can be sent between a server and a client
+
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.CardChoiceScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.IPAddressScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.LoadingScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.LobbyScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.PowerDownScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.StartMenuScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.UsernameScreen
+
 
+
render(float) - Method in class inf112.fiasko.roborally.ui.screens.WinnerScreen
+
 
+
repairRobotOnTile(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Removes one damage for a given robot given that it has taken som damage before
+
+
RequestState - Enum in inf112.fiasko.roborally.networking
+
+
This enum represents states of a request sent to the server
+
+
resize(int, int) - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
ResourceUtil - Class in inf112.fiasko.roborally.utility
+
+
This class helps with tasks related to resource loading
+
+
respawnRobot(Robot) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Re-spawns a robot at the first available position relative to its backup position
+
+
respawnRobots() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Moves all dead robots to their backups and makes them part of the board again, and if a robot has no lives + it will be removed from the game.
+
+
resume() - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
reverseRobot(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Moves a robot one unit backwards according to the direction it's currently facing
+
+
RoboRallyClient - Class in inf112.fiasko.roborally.networking
+
+
This class represents a client capable of connecting to a Robo Rally server
+
+
RoboRallyClient(RoboRallyUI) - Constructor for class inf112.fiasko.roborally.networking.RoboRallyClient
+
+
Instantiates a new Robo Rally client
+
+
RoboRallyGame - Class in inf112.fiasko.roborally.objects
+
+
This class represent a game which is drawable using libgdx
+
+
RoboRallyGame(List<Player>, String, String, RoboRallyServer, Boolean) - Constructor for class inf112.fiasko.roborally.objects.RoboRallyGame
+
+
Instantiates a new Robo Rally game
+
+
roboRallyGame - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
RoboRallyServer - Class in inf112.fiasko.roborally.networking
+
+
This class represents a Robo Rally Server
+
+
RoboRallyServer(int) - Constructor for class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Instantiates a new Robo Rally server
+
+
RoboRallyUI - Interface in inf112.fiasko.roborally.ui
+
+
An interface describing necessary methods for a user interface
+
+
RoboRallyWrapper - Class in inf112.fiasko.roborally.ui
+
+
This class acts as a wrapper around the different screens of the game
+
+
RoboRallyWrapper() - Constructor for class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
Robot - Class in inf112.fiasko.roborally.objects
+
+
This class represents a robot
+
+
Robot(RobotID, Position) - Constructor for class inf112.fiasko.roborally.objects.Robot
+
+
Instantiates a new robot
+
+
RobotID - Enum in inf112.fiasko.roborally.objects.properties
+
+
This class represents an id for marking specific robots
+
+
rotateCogwheels() - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Rotates all robots that are standing on cogWheel tiles on the board.
+
+
rotateRobotLeft(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Rotates a robot to the right
+
+
rotateRobotRight(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Rotates a robot to the left
+
+
runPhase(int) - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Runs one phase as defined in the Robo Rally rulebook
+
+
runProgrammingCards(int) - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Runs all programming cards for a phase
+
+
runTurn() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
+
Starts a turn in the game
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-18.html b/docs/javadoc/index-files/index-18.html new file mode 100644 index 0000000..51dabe9 --- /dev/null +++ b/docs/javadoc/index-files/index-18.html @@ -0,0 +1,330 @@ + + + + + +S-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

S

+
+
screenManager - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
ScreenManager - Class in inf112.fiasko.roborally.ui
+
+
Keeps track of screen instances
+
+
ScreenManager() - Constructor for class inf112.fiasko.roborally.ui.ScreenManager
+
 
+
scrolled(int) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
scrolled(int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
selectable - Variable in class inf112.fiasko.roborally.ui.screens.CardRectangle
+
 
+
selected - Variable in class inf112.fiasko.roborally.ui.screens.CardRectangle
+
 
+
sendElement(Object) - Method in class inf112.fiasko.roborally.networking.RoboRallyClient
+
+
Sends something to the server
+
+
sendToAllClients(Object) - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Sends an object to all clients
+
+
sendToClient(Connection, Object) - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Sends an object to a specific client
+
+
server - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
setAmountOfLives(int) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets the amount if life the robot has left
+
+
setBackupPosition(Position) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets the backup position of the robot
+
+
setBackupPositionOfRobot(RobotID, Position) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Sets the backup position of a given robot to a given position
+
+
setDamageTaken(int) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets the robot's taken damage to a given amount
+
+
setDeadPlayers(List<RobotID>) - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Makes notice of players which are dead and as such should not be expected to send anything
+
+
setDirection(Direction) - Method in interface inf112.fiasko.roborally.objects.BoardElement
+
+
Changes the direction of the element
+
+
setDirection(Direction) - Method in class inf112.fiasko.roborally.objects.Particle
+
 
+
setDirection(Direction) - Method in class inf112.fiasko.roborally.objects.Tile
+
 
+
setDirection(Direction) - Method in class inf112.fiasko.roborally.objects.Wall
+
 
+
setElement(int, int, K) - Method in interface inf112.fiasko.roborally.objects.Grid
+
+
Places the element on the given x and y coordinate
+
+
setElement(int, int, K) - Method in class inf112.fiasko.roborally.objects.ListGrid
+
 
+
setExtraCards(ProgrammingCardDeck) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Sets extra cards necessary when the player has no program to lock
+
+
setExtraCards(ProgrammingCardDeck) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
setFacingDirection(Direction) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets the direction the robot is currently facing
+
+
setGame(RoboRallyGame) - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
+
+
Sets the robo rally game being rendered by the UI
+
+
setGame(RoboRallyGame) - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
setGameState(GameState) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Sets the state of the game
+
+
setGameState(GameState) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
setHasTouchedFlagThisTurn(RobotID, boolean) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Sets a boolean for if the robot has touched a flag this turn
+
+
setHasTouchedFlagThisTurn(boolean) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets the boolean value to true if the robot touches a flag during a turn, + and false at the end of each turn.
+
+
setLastFlagVisited(int) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Set the robot's last visited flag to the new flag and places its backup on the flag's position
+
+
setPlayerHand(ProgrammingCardDeck) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Sets the hand of this player
+
+
setPlayerHand(ProgrammingCardDeck) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
setPosition(Position) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets the robot's current position on the board
+
+
setPowerDown(RobotID, Boolean) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Sets the power down status of the robot
+
+
setPowerDown(Boolean) - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Sets power-down status
+
+
setPowerDownNextRound(boolean) - Method in class inf112.fiasko.roborally.objects.Player
+
+
Sets the power down status
+
+
setProgram(List<ProgrammingCard>) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Sets the program of this player
+
+
setProgram(List<ProgrammingCard>) - Method in class inf112.fiasko.roborally.objects.Player
+
+
Sets the Players program to the given list of programing cards
+
+
setProgram(List<ProgrammingCard>) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
setProgrammingCardDeck(ProgrammingCardDeck) - Method in class inf112.fiasko.roborally.objects.Player
+
+
Sets the players deck to the given deck
+
+
setShouldHurry(boolean) - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
+
+
Sets whether the client should hurry with whatever it's doing
+
+
setShouldHurry(boolean) - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
setWinningPlayerName(String) - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Sets the name of the player that won the game
+
+
setWinningPlayerName(String) - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
shouldHurry - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
show() - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
show() - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
show() - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
show() - Method in class inf112.fiasko.roborally.ui.screens.LobbyScreen
+
 
+
show() - Method in class inf112.fiasko.roborally.ui.screens.PowerDownScreen
+
 
+
show() - Method in class inf112.fiasko.roborally.ui.screens.UsernameScreen
+
 
+
shuffle() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Randomises the order of the deck
+
+
shuffle() - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Shuffles the order of the cards in the deck
+
+
SimpleButton - Class in inf112.fiasko.roborally.ui
+
+
This class generates a simple text button using a default skin
+
+
SimpleButton(String, BitmapFont) - Constructor for class inf112.fiasko.roborally.ui.SimpleButton
+
+
Instantiates a new simple button
+
+
size() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Gets the size of the deck
+
+
size() - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Gets the number of cards currently in this deck
+
+
stage - Variable in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
startGame() - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Does necessary cleanup of dangling connections before game is started
+
+
StartMenuScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen is the first screen shown to a player
+
+
StartMenuScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.StartMenuScreen
+
+
Instantiates a new start menu screen
+
+
StringUtil - Class in inf112.fiasko.roborally.utility
+
 
+
StringUtil() - Constructor for class inf112.fiasko.roborally.utility.StringUtil
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-19.html b/docs/javadoc/index-files/index-19.html new file mode 100644 index 0000000..690b4bb --- /dev/null +++ b/docs/javadoc/index-files/index-19.html @@ -0,0 +1,191 @@ + + + + + +T-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

T

+
+
teleportRobot(RobotID, Position) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Teleports a robot to some position without verification + + Be quite careful about using this method.
+
+
TextureConverterUtil - Class in inf112.fiasko.roborally.utility
+
+
This class can convert an element to an appropriate texture
+
+
Tile - Class in inf112.fiasko.roborally.objects
+
+
This class represents a simple tile
+
+
Tile(TileType, Direction) - Constructor for class inf112.fiasko.roborally.objects.Tile
+
+
Instantiates a new tile
+
+
TileType - Enum in inf112.fiasko.roborally.objects.properties
+
+
This enum represents all possible tile types
+
+
toString() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Gets the card from the deck in String format
+
+
toString() - Method in class inf112.fiasko.roborally.objects.ListGrid
+
 
+
toString() - Method in class inf112.fiasko.roborally.objects.Particle
+
 
+
toString() - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
+
 
+
toString() - Method in class inf112.fiasko.roborally.objects.properties.Position
+
 
+
toString() - Method in class inf112.fiasko.roborally.objects.Tile
+
 
+
toString() - Method in class inf112.fiasko.roborally.objects.Wall
+
 
+
toString() - Method in class inf112.fiasko.roborally.ui.screens.CardRectangle
+
 
+
touchDown(int, int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
touchDown(int, int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
touchDragged(int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
touchDragged(int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
touchUp(int, int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
touchUp(int, int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.CardChoiceScreen
+
 
+
touchUp(int, int, int, int) - Method in class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
tryRobotRespawn(Robot, int, int, int, Direction) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Tries to re-spawn a robot on one of the positions described
+
+
TwoTuple<T,K> - Class in inf112.fiasko.roborally.objects
+
+
A class which can save a tuple with two values
+
+
TwoTuple(T, K) - Constructor for class inf112.fiasko.roborally.objects.TwoTuple
+
+
Instantiates a new 2-tuple
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-2.html b/docs/javadoc/index-files/index-2.html new file mode 100644 index 0000000..d0a1e5c --- /dev/null +++ b/docs/javadoc/index-files/index-2.html @@ -0,0 +1,159 @@ + + + + + +B-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

B

+
+
batch - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
Board - Class in inf112.fiasko.roborally.objects
+
+
This class represents a board
+
+
Board(Grid<Tile>, Grid<Wall>, List<Robot>) - Constructor for class inf112.fiasko.roborally.objects.Board
+
+
Initializes the board
+
+
BoardActiveScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen shows the game board in real time
+
+
BoardActiveScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
+
Instantiates a new board active screen
+
+
BoardElement<K> - Interface in inf112.fiasko.roborally.objects
+
+
Represents an element on the board
+
+
BoardElementContainer<K extends BoardElement> - Class in inf112.fiasko.roborally.objects
+
+
This class represents a board element and its position
+
+
BoardElementContainer(K, Position) - Constructor for class inf112.fiasko.roborally.objects.BoardElementContainer
+
+
Initializes the BoardElementContainer
+
+
BoardLoaderUtil - Class in inf112.fiasko.roborally.utility
+
+
This class helps loading boards
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-20.html b/docs/javadoc/index-files/index-20.html new file mode 100644 index 0000000..5804b5f --- /dev/null +++ b/docs/javadoc/index-files/index-20.html @@ -0,0 +1,155 @@ + + + + + +U-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

U

+
+
updateRobotBackups() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Updates backup position of all robots on a repair tile
+
+
updateRobotFlag(RobotID, BoardElementContainer<Tile>) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Updates the flag of the robot if it stands on the correct flag.
+
+
updateRobotRespawn() - Method in class inf112.fiasko.roborally.objects.Phase
+
 
+
UsernameRequest - Class in inf112.fiasko.roborally.networking.containers
+
+
A request for sending a username to the server
+
+
UsernameRequest() - Constructor for class inf112.fiasko.roborally.networking.containers.UsernameRequest
+
+
Empty constructor required by KryoNet.
+
+
UsernameRequest(String) - Constructor for class inf112.fiasko.roborally.networking.containers.UsernameRequest
+
+
Instantiates a new username request
+
+
UsernameScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen allows a user to choose their player name
+
+
UsernameScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.UsernameScreen
+
+
Instantiates a new username screen
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-21.html b/docs/javadoc/index-files/index-21.html new file mode 100644 index 0000000..27f3d75 --- /dev/null +++ b/docs/javadoc/index-files/index-21.html @@ -0,0 +1,203 @@ + + + + + +V-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

V

+
+
value1 - Variable in class inf112.fiasko.roborally.objects.TwoTuple
+
 
+
value2 - Variable in class inf112.fiasko.roborally.objects.TwoTuple
+
 
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.networking.RequestState
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.Action
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.GameState
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.ParticleType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.RobotID
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.TileType
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum inf112.fiasko.roborally.objects.properties.WallType
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum inf112.fiasko.roborally.networking.RequestState
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.Action
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.GameState
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.ParticleType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.RobotID
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.TileType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum inf112.fiasko.roborally.objects.properties.WallType
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
viewport - Variable in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-22.html b/docs/javadoc/index-files/index-22.html new file mode 100644 index 0000000..a396522 --- /dev/null +++ b/docs/javadoc/index-files/index-22.html @@ -0,0 +1,145 @@ + + + + + +W-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

W

+
+
Wall - Class in inf112.fiasko.roborally.objects
+
+
This class represents a wall
+
+
Wall(WallType, Direction) - Constructor for class inf112.fiasko.roborally.objects.Wall
+
+
Initializes a wall
+
+
WallType - Enum in inf112.fiasko.roborally.objects.properties
+
+
This enum represents all possible wall types
+
+
WinnerScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen shows which player won the game
+
+
WinnerScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.WinnerScreen
+
+
Instantiates a new winner screen
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-3.html b/docs/javadoc/index-files/index-3.html new file mode 100644 index 0000000..166d7da --- /dev/null +++ b/docs/javadoc/index-files/index-3.html @@ -0,0 +1,197 @@ + + + + + +C-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

C

+
+
camera - Variable in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
card - Variable in class inf112.fiasko.roborally.ui.screens.CardRectangle
+
 
+
CardChoiceScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen is used to let the user choose their program
+
+
CardChoiceScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.CardChoiceScreen
+
+
Instantiates a new card choice screen
+
+
CardRectangle - Class in inf112.fiasko.roborally.ui.screens
+
+
A helper class for keeping track of card information and a rectangle
+
+
checkAllFlags() - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Checks all flags for robots.
+
+
client - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
compareTo(ProgrammingCard) - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
+
 
+
connect(String, int) - Method in class inf112.fiasko.roborally.networking.RoboRallyClient
+
+
Connects to a Robo Rally server
+
+
convertElement(ProgrammingCard) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets the texture representing the programming card
+
+
convertElement(Tile) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets the texture representing the tile
+
+
convertElement(Particle) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets the texture representing the particle
+
+
convertElement(Wall) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets the texture representing the tile
+
+
convertElement(Robot) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets the texture representing the robot
+
+
convertElement(RobotID) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets the texture representing the robot id
+
+
conveyorBeltCanMove(BoardElementContainer<Tile>, int) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Checks whether a given conveyor belt is able to move in its direction
+
+
copy() - Method in interface inf112.fiasko.roborally.objects.BoardElement
+
+
Makes a copy of the board element
+
+
copy() - Method in class inf112.fiasko.roborally.objects.Particle
+
 
+
copy() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Makes a copy of this robot with the same properties as this robot
+
+
copy() - Method in class inf112.fiasko.roborally.objects.Tile
+
 
+
copy() - Method in class inf112.fiasko.roborally.objects.Wall
+
 
+
create() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-4.html b/docs/javadoc/index-files/index-4.html new file mode 100644 index 0000000..b5910b0 --- /dev/null +++ b/docs/javadoc/index-files/index-4.html @@ -0,0 +1,187 @@ + + + + + +D-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

D

+
+
Deck<T> - Interface in inf112.fiasko.roborally.objects
+
+
Describes a deck + + Any card stored in the deck is assumed to be immutable.
+
+
DeckLoaderUtil - Class in inf112.fiasko.roborally.utility
+
+
Helper class for loading card decks
+
+
DeckLoaderUtil() - Constructor for class inf112.fiasko.roborally.utility.DeckLoaderUtil
+
 
+
Direction - Enum in inf112.fiasko.roborally.objects.properties
+
+
This enum represents all possible directions for an element on the board
+
+
dispose() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
dispose() - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
dispose() - Method in class inf112.fiasko.roborally.ui.screens.BoardActiveScreen
+
 
+
doLaserCleanup() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Does necessary cleanup after lasers have been fired
+
+
draw(Deck<T>) - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Draws one card from the other deck
+
+
draw(Deck<T>, int) - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Draws multiple cards from the other deck
+
+
draw(Deck<T>) - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Draws one card from the top of another deck
+
+
draw(Deck<T>, int) - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Draws n cards from the top of another deck
+
+
DrawableGame - Interface in inf112.fiasko.roborally.objects
+
+
This interface describes a game drawable using libgdx
+
+
DrawableObject - Class in inf112.fiasko.roborally.objects
+
+
This class represents an object that can be drawn using libgdx
+
+
DrawableObject(TextureRegion, int, int, int, int, int, boolean, boolean) - Constructor for class inf112.fiasko.roborally.objects.DrawableObject
+
+
Initializes a drawable object
+
+
DrawableObject(TextureRegion, int, int, int, int, int) - Constructor for class inf112.fiasko.roborally.objects.DrawableObject
+
+
Initializes a drawable object
+
+
DrawableObject(TextureRegion, int, int) - Constructor for class inf112.fiasko.roborally.objects.DrawableObject
+
+
Initializes a new drawable object
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-5.html b/docs/javadoc/index-files/index-5.html new file mode 100644 index 0000000..e58b277 --- /dev/null +++ b/docs/javadoc/index-files/index-5.html @@ -0,0 +1,157 @@ + + + + + +E-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

E

+
+
emptyInto(Deck<T>) - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Empty the entire deck into the other deck
+
+
emptyInto(Deck<T>) - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Moves all cards in this deck into another deck
+
+
equals(Object) - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
+
 
+
equals(Object) - Method in class inf112.fiasko.roborally.objects.properties.Position
+
 
+
ErrorResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
This class represents a response saying that something went wrong with the request
+
+
ErrorResponse(String) - Constructor for class inf112.fiasko.roborally.networking.containers.ErrorResponse
+
+
Constructs a new error response
+
+
ErrorResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.ErrorResponse
+
+
Empty constructor required by KryoNet.
+
+
ErrorResponse(String, boolean) - Constructor for class inf112.fiasko.roborally.networking.containers.ErrorResponse
+
+
Constructs a new error response
+
+
executePowerDown() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Sets the damage taken of robots in power down to 0
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-6.html b/docs/javadoc/index-files/index-6.html new file mode 100644 index 0000000..e2af878 --- /dev/null +++ b/docs/javadoc/index-files/index-6.html @@ -0,0 +1,143 @@ + + + + + +F-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

F

+
+
fireAllLasers() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Fires all lasers on the board and kills any robot that has taken to much damage after all lasers have fired.
+
+
fireAllLasers() - Method in class inf112.fiasko.roborally.objects.Phase
+
+
Fires all lasers on the game board
+
+
flipX() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Whether to flip the texture on the x-axis when rendering
+
+
flipY() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Whether to flip the texture on the y-axis when rendering
+
+
font - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-7.html b/docs/javadoc/index-files/index-7.html new file mode 100644 index 0000000..bb3663c --- /dev/null +++ b/docs/javadoc/index-files/index-7.html @@ -0,0 +1,675 @@ + + + + + +G-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

G

+
+
GameStartInfoResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
This class contains information about the game board to be used and the game's players
+
+
GameStartInfoResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
+
+
Empty constructor required by KryoNet.
+
+
GameStartInfoResponse(String, List<Player>, String) - Constructor for class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
+
+
Instantiates a new GameStartInfoResponse object
+
+
GameState - Enum in inf112.fiasko.roborally.objects.properties
+
+
This enum represents the different states the game can be in
+
+
getAction() - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
+
+
Gets the action of the programming card
+
+
getAliveRobots() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets all alive robots from the board
+
+
getAllElementsFromGrid(Grid<K>) - Static method in class inf112.fiasko.roborally.utility.GridUtil
+
+
Gets all elements in a grid
+
+
getAllRobots() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets all robots from the board
+
+
getAllRobots() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets a list of all robots still participating
+
+
getAllRobots() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getAmountOfLives() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the amount of life a robot has left.
+
+
getBackupPosition() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the robot's backup position
+
+
getBoardActiveScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the board active screen
+
+
getBoardHeight() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets the height of the board
+
+
getBoardName() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
+
+
Gets the board name
+
+
getBoardWidth() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets the width of the board
+
+
getButton() - Method in class inf112.fiasko.roborally.ui.SimpleButton
+
+
Gets the button generated
+
+
getCardChoiceScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the card choice screen
+
+
getCards() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Gets a list of all the cards in the deck
+
+
getCards() - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Gets a list of all cards in this deck + + The list should have the correct order according to the actual order within the deck.
+
+
getDamageTaken() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the damage the robot has taken
+
+
getDamageTokenCriticalTexture() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Returns the texture to use to display damage tokens
+
+
getDamageTokenTexture() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Returns the texture to use to display damage tokens
+
+
getDirection() - Method in interface inf112.fiasko.roborally.objects.BoardElement
+
+
Gets the direction of the element
+
+
getDirection() - Method in class inf112.fiasko.roborally.objects.Particle
+
 
+
getDirection() - Method in class inf112.fiasko.roborally.objects.Tile
+
 
+
getDirection() - Method in class inf112.fiasko.roborally.objects.Wall
+
 
+
getDirectionFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Gets a direction from its numerical id
+
+
getDirectionID() - Method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Gets the numerical identifier used for alternate identification of a direction
+
+
getDisposableElements() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Gets a list of all disposable elements which should be disposed when the software closes
+
+
getDrawableObjectsFromGame(DrawableGame, int, int) - Static method in class inf112.fiasko.roborally.utility.IOUtil
+
+
Gets a list of all elements which should be drawn from the game provided
+
+
getElement() - Method in class inf112.fiasko.roborally.objects.BoardElementContainer
+
+
Gets the element
+
+
getElement(int, int) - Method in interface inf112.fiasko.roborally.objects.Grid
+
+
Gets the element in a given x and y coordinate
+
+
getElement(int, int) - Method in class inf112.fiasko.roborally.objects.ListGrid
+
 
+
getErrorMessage() - Method in class inf112.fiasko.roborally.networking.containers.ErrorResponse
+
+
Gets the error message attached to the error response
+
+
getExtraCards() - Method in class inf112.fiasko.roborally.networking.containers.HandResponse
+
+
Gets the extra cards contained within the response
+
+
getExtraCards() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Gets extra cards necessary when the player has no program to lock
+
+
getExtraCards() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getFacingDirection() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the direction the robot is currently facing
+
+
getGame() - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
+
+
Gets the robo rally game being rendered by the UI
+
+
getGame() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
getGameState() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Gets the current state of the game
+
+
getGameState() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getHeight() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets the number of tiles in the y direction
+
+
getHeight() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Gets the height of the object
+
+
getHeight() - Method in interface inf112.fiasko.roborally.objects.Grid
+
+
Gets height of the grid
+
+
getHeight() - Method in class inf112.fiasko.roborally.objects.ListGrid
+
 
+
getHeight() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getIPAddressScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the ip address screen
+
+
getLanServers(int) - Method in class inf112.fiasko.roborally.networking.RoboRallyClient
+
+
Gets a list of addresses of local Robo Rally servers
+
+
getLastFlagVisited(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets the int corresponding to the flag a robot has last visited
+
+
getLastFlagVisited() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the last flag the robot visited
+
+
getLastRequestState() - Method in class inf112.fiasko.roborally.networking.RoboRallyClient
+
+
Gets the state of the lastly sent request
+
+
getLeftRotatedDirection(Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Gets the direction if something rotated to the left + + A rotation is assumed to be a ninety degrees rotation, so NORTH would become WEST and so on.
+
+
getLifeTexture() - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Returns the texture to use to display lives
+
+
getLoadingScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the loading screen
+
+
getLobbyScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the lobby screen
+
+
getLockedProgrammingCardDeck() - Method in class inf112.fiasko.roborally.objects.Player
+
+
Gets the player deck with locked cards
+
+
getMatchingElements(K, Grid<T>) - Static method in class inf112.fiasko.roborally.utility.GridUtil
+
+
Finds all tiles/walls with a certain type
+
+
getName() - Method in class inf112.fiasko.roborally.objects.Player
+
+
Gets the name of the player
+
+
getNewCardChoiceScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets a new instance of the card choice screen
+
+
getNewHand() - Method in class inf112.fiasko.roborally.networking.containers.HandResponse
+
+
Gets the hand contained within the response
+
+
getNewLaserBeamParticle(Particle, Particle) - Static method in class inf112.fiasko.roborally.utility.LaserHelper
+
+
Gets the new particle to use given the laser firing and the existing beam particle
+
+
getNewPosition(Position, Direction) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets the position 1 unit in a specific direction from another position
+
+
getParticleFromLaserType(WallType) - Static method in class inf112.fiasko.roborally.utility.LaserHelper
+
+
Gets the correct particle type from a laser type
+
+
getParticles() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets all the particles from the board
+
+
getParticlesToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets a list of all the particles to be drawn + + Should return a list readable from top-left to top-right and so on.
+
+
getParticlesToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getParticleTypeFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.ParticleType
+
+
Gets a particle type value from its numerical representation
+
+
getParticleTypeID() - Method in enum inf112.fiasko.roborally.objects.properties.ParticleType
+
+
Gets the numerical id used for alternate identification of a tile type
+
+
getPlayerHand() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Gets the hand of this player
+
+
getPlayerHand() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getPlayerList() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
+
+
Gets the list of players
+
+
getPlayerName() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
+
+
Gets the player name of the current player
+
+
getPlayerNames() - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Gets a map between connections and their player name
+
+
getPlayers() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets a list of active players to receive information about player names
+
+
getPlayers() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getPosition() - Method in class inf112.fiasko.roborally.objects.BoardElementContainer
+
+
Gets the position of the element
+
+
getPosition() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the robot's current position on the board
+
+
getPositionsOfTilesOnBoard(TileType...) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets a list of BoardElementContainers, containing all tiles and positions of given tile types
+
+
getPositionsOfWallsOnBoard(WallType...) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets a list of BoardElementContainers, containing all tiles and positions of given wall types
+
+
getPowerDown() - Method in class inf112.fiasko.roborally.networking.containers.PowerDownContainerResponse
+
+
Gets the power down map stored in the container
+
+
getPowerdown() - Method in class inf112.fiasko.roborally.networking.containers.ProgramAndPowerdownRequest
+
 
+
getPowerDown(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets the power down status of the robot
+
+
getPowerDownMap() - Method in class inf112.fiasko.roborally.networking.containers.ProgramsContainerResponse
+
+
Gets the map of power down
+
+
getPowerDownNextRound() - Method in class inf112.fiasko.roborally.objects.Player
+
+
Gets the players power down status
+
+
getPowerDownScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the power down screen
+
+
getPriority() - Method in class inf112.fiasko.roborally.objects.ProgrammingCard
+
+
Gets the priority of the programming card
+
+
getProgram() - Method in class inf112.fiasko.roborally.networking.containers.ProgramAndPowerdownRequest
+
 
+
getProgram() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Gets the program of this player
+
+
getProgram() - Method in class inf112.fiasko.roborally.objects.Player
+
+
Gets the players program
+
+
getProgram() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getProgrammingCardDeck() - Method in class inf112.fiasko.roborally.objects.Player
+
+
Gets the player hand/deck
+
+
getProgramSize() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Gets the amount of cards the player can choose for their program
+
+
getProgramSize() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getProgramsMap() - Method in class inf112.fiasko.roborally.networking.containers.ProgramsContainerResponse
+
+
Gets the map of programs
+
+
getRealDeadRobots() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets a list of robots no longer part of the game
+
+
getResourceAsInputStream(String) - Static method in class inf112.fiasko.roborally.utility.ResourceUtil
+
+
Gets an input stream for a given resource
+
+
getReverseDirection(Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Gets the reverse of a direction
+
+
getRightRotatedDirection(Direction) - Static method in enum inf112.fiasko.roborally.objects.properties.Direction
+
+
Gets the direction if something rotated to the right + + A rotation is assumed to be a ninety degrees rotation, so NORTH would become EAST and so on.
+
+
getRobotDamage(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Get the damage of a specific robot
+
+
getRobotID() - Method in class inf112.fiasko.roborally.networking.RoboRallyServer
+
+
Gets a map between connections and their robot id
+
+
getRobotID() - Method in class inf112.fiasko.roborally.objects.Player
+
+
Gets the RobotID of a player
+
+
getRobotId() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the robot ID
+
+
getRobotIDFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.RobotID
+
+
Gets a robot ID value from its numerical representation
+
+
getRobotIDID() - Method in enum inf112.fiasko.roborally.objects.properties.RobotID
+
+
Gets the numerical id used for identification of a robot id
+
+
getRobotOnPosition(Position) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Returns a robot id for a robot on a specific position if such a robot exists
+
+
getRobotPowerDown() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
+
Gets the power down status of the client playing this instance of the game
+
+
getRobotsToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets a list of all robots to draw
+
+
getRobotsToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getRotation() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Gets the number of degrees to rotate the texture counterclockwise when rendering
+
+
getServer() - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
+
+
Gets the servers used for receiving objects from clients
+
+
getServer() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
getStartMenuScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the start menu screen
+
+
getTexture() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Gets the texture to use for drawing the object
+
+
getTileOnPosition(Position) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets the tile on a specific position
+
+
getTiles() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets all the tiles from the board
+
+
getTilesToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets a list of all the tiles to be drawn + + Should return a list readable from top-left to top-right and so on.
+
+
getTilesToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getTileTypeFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.TileType
+
+
Gets a tile type value from its numerical representation
+
+
getTileTypeID() - Method in enum inf112.fiasko.roborally.objects.properties.TileType
+
+
Gets the numerical id used for alternate identification of a tile type
+
+
getType() - Method in interface inf112.fiasko.roborally.objects.BoardElement
+
+
Gets the type of the element
+
+
getType() - Method in class inf112.fiasko.roborally.objects.Particle
+
 
+
getType() - Method in class inf112.fiasko.roborally.objects.Tile
+
 
+
getType() - Method in class inf112.fiasko.roborally.objects.Wall
+
 
+
getUsername() - Method in class inf112.fiasko.roborally.networking.containers.UsernameRequest
+
+
Gets the username the user wants to use
+
+
getUsernameScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the username screen
+
+
getWalls() - Method in class inf112.fiasko.roborally.objects.Board
+
+
Gets all the walls from the board
+
+
getWallsToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets a list of all the walls to be drawn + + Should return a list readable from top-left to top-right and so on.
+
+
getWallsToDraw() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getWallTypeFromID(int) - Static method in enum inf112.fiasko.roborally.objects.properties.WallType
+
+
Gets a wall type value from its numerical representation
+
+
getWallTypeID() - Method in enum inf112.fiasko.roborally.objects.properties.WallType
+
+
Gets the numerical id used for alternate identification of a wall type
+
+
getWidth() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
+
+
Gets the number of tiles in the x direction
+
+
getWidth() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Gets the width of the object
+
+
getWidth() - Method in interface inf112.fiasko.roborally.objects.Grid
+
+
Gets the width of the grid
+
+
getWidth() - Method in class inf112.fiasko.roborally.objects.ListGrid
+
 
+
getWidth() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getWinnerScreen(RoboRallyWrapper) - Method in class inf112.fiasko.roborally.ui.ScreenManager
+
+
Gets an instance of the winner screen
+
+
getWinningPlayerName() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
+
+
Gets the name of the player who won
+
+
getWinningPlayerName() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
+
getXCoordinate() - Method in class inf112.fiasko.roborally.objects.properties.Position
+
+
Gets the x coordinate of the position
+
+
getXPosition() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Gets the x position the object should be drawn on + + The x position should be in terms of the actual pixel position on the rendered game, not the position according + to the game tile.
+
+
getYCoordinate() - Method in class inf112.fiasko.roborally.objects.properties.Position
+
+
Gets the y coordinate of the position
+
+
getYPosition() - Method in class inf112.fiasko.roborally.objects.DrawableObject
+
+
Gets the y position the object should be drawn on + + The y position should be in terms of the actual pixel position on the rendered game, not the position according + to the game tile.
+
+
Grid<K> - Interface in inf112.fiasko.roborally.objects
+
+
This Interface describes a grid
+
+
GridUtil - Class in inf112.fiasko.roborally.utility
+
+
A helper class containing helper methods fro a grid
+
+
GridUtil() - Constructor for class inf112.fiasko.roborally.utility.GridUtil
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-8.html b/docs/javadoc/index-files/index-8.html new file mode 100644 index 0000000..0aaa4b9 --- /dev/null +++ b/docs/javadoc/index-files/index-8.html @@ -0,0 +1,175 @@ + + + + + +H-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

H

+
+
HandResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
A response containing the client's new hand
+
+
HandResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.HandResponse
+
+
Empty constructor required by KryoNet.
+
+
HandResponse(ProgrammingCardDeck, ProgrammingCardDeck) - Constructor for class inf112.fiasko.roborally.networking.containers.HandResponse
+
+
Instantiates a new programming card deck response
+
+
hasRobotOnPosition(Position) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Checks whether there exists a robot on a specific position
+
+
hasRotatedTexture(Tile) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Checks whether a tile has textures for different rotations + + For a tile without a rotated texture, the texture needs to be rotated when rendering.
+
+
hasRotatedTexture(Wall) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Checks whether a wall has textures for different rotations + + For a wall without a rotated texture, the texture needs to be rotated when rendering.
+
+
hasRotatedTexture(Particle) - Static method in class inf112.fiasko.roborally.utility.TextureConverterUtil
+
+
Checks whether a particle has textures for different rotations + + For a particle without a rotated texture, the texture needs to be rotated when rendering.
+
+
hasTouchedFlagThisTurn(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Checks a boolean for if the robot has touched a flag this turn
+
+
hasTouchedFlagThisTurn() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
True if the robot has touched a flag in the current turn
+
+
hide() - Method in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
HurryResponse - Class in inf112.fiasko.roborally.networking.containers
+
+
A response telling the client to hurry up the action it's doing because other clients are waiting
+
+
HurryResponse() - Constructor for class inf112.fiasko.roborally.networking.containers.HurryResponse
+
 
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index-files/index-9.html b/docs/javadoc/index-files/index-9.html new file mode 100644 index 0000000..838be92 --- /dev/null +++ b/docs/javadoc/index-files/index-9.html @@ -0,0 +1,201 @@ + + + + + +I-Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I K L M N O P Q R S T U V W  + + +

I

+
+
inf112.fiasko.roborally - package inf112.fiasko.roborally
+
 
+
inf112.fiasko.roborally.networking - package inf112.fiasko.roborally.networking
+
 
+
inf112.fiasko.roborally.networking.containers - package inf112.fiasko.roborally.networking.containers
+
 
+
inf112.fiasko.roborally.objects - package inf112.fiasko.roborally.objects
+
 
+
inf112.fiasko.roborally.objects.properties - package inf112.fiasko.roborally.objects.properties
+
 
+
inf112.fiasko.roborally.ui - package inf112.fiasko.roborally.ui
+
 
+
inf112.fiasko.roborally.ui.screens - package inf112.fiasko.roborally.ui.screens
+
 
+
inf112.fiasko.roborally.utility - package inf112.fiasko.roborally.utility
+
 
+
inputMultiplexer - Variable in class inf112.fiasko.roborally.ui.screens.AbstractScreen
+
 
+
InteractableGame - Interface in inf112.fiasko.roborally.objects
+
+
This interface describes a game which can be interacted with
+
+
InteractiveScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This class overrides all InputProcessor methods to make cleaner abstract screens with input processors
+
+
InteractiveScreen() - Constructor for class inf112.fiasko.roborally.ui.screens.InteractiveScreen
+
 
+
IOUtil - Class in inf112.fiasko.roborally.utility
+
+
This class helps with tasks which mix primitive classes and classes from external libraries
+
+
IPAddressScreen - Class in inf112.fiasko.roborally.ui.screens
+
+
This screen allows the user to enter the ip address to connect to
+
+
IPAddressScreen(RoboRallyWrapper) - Constructor for class inf112.fiasko.roborally.ui.screens.IPAddressScreen
+
+
Instantiates a new ip address screen
+
+
isConveyorBelt(Tile) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Checks whether a given tile is a conveyor belt
+
+
isCritical() - Method in class inf112.fiasko.roborally.networking.containers.ErrorResponse
+
+
Gets whether the error is critical or not
+
+
isEmpty() - Method in class inf112.fiasko.roborally.objects.AbstractDeck
+
+
Checks if the deck is empty
+
+
isEmpty() - Method in interface inf112.fiasko.roborally.objects.Deck
+
+
Whether this deck is empty
+
+
isInPowerDown() - Method in class inf112.fiasko.roborally.objects.Robot
+
+
Gets the robot's power-down status
+
+
isRobotAlive(RobotID) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Checks if a specific robot is currently alive on the board
+
+
isTesting() - Method in interface inf112.fiasko.roborally.ui.RoboRallyUI
+
+
Gets whether the game should be started in test mode
+
+
isTesting - Variable in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
isTesting() - Method in class inf112.fiasko.roborally.ui.RoboRallyWrapper
+
 
+
isValidPosition(Position) - Method in class inf112.fiasko.roborally.objects.Board
+
+
Checks whether a given position is valid
+
+
+A B C D E F G H I K L M N O P Q R S T U V W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/index.html b/docs/javadoc/index.html new file mode 100644 index 0000000..239ff78 --- /dev/null +++ b/docs/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/Main.html b/docs/javadoc/inf112/fiasko/roborally/Main.html new file mode 100644 index 0000000..201ff31 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/Main.html @@ -0,0 +1,270 @@ + + + + + +Main + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally
+

Class Main

+
+
+ +
+
    +
  • +
    +
    +
    public class Main
    +extends java.lang.Object
    +
    The mail class which runs the game
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Main() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Main

        +
        public Main()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        main

        +
        public static void main(java.lang.String[] args)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html b/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html new file mode 100644 index 0000000..c7c81ec --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html @@ -0,0 +1,376 @@ + + + + + +RequestState + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking
+

Enum RequestState

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<RequestState>
    +
    +
    +
    +
    public enum RequestState
    +extends java.lang.Enum<RequestState>
    +
    This enum represents states of a request sent to the server
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      NOT_SENT +
      No request has been sent to the server
      +
      SENT_NOT_RECEIVED +
      The request has been send to the server, but no response has been received
      +
      SENT_OKAY +
      The request has been sent to the server, and the server confirmed the receipt
      +
      SENT_REJECTED +
      The request has been sent to the server, but the server rejected the request
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static RequestStatevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static RequestState[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        SENT_NOT_RECEIVED

        +
        public static final RequestState SENT_NOT_RECEIVED
        +
        The request has been send to the server, but no response has been received
        +
      • +
      + + + +
        +
      • +

        SENT_OKAY

        +
        public static final RequestState SENT_OKAY
        +
        The request has been sent to the server, and the server confirmed the receipt
        +
      • +
      + + + +
        +
      • +

        SENT_REJECTED

        +
        public static final RequestState SENT_REJECTED
        +
        The request has been sent to the server, but the server rejected the request
        +
      • +
      + + + +
        +
      • +

        NOT_SENT

        +
        public static final RequestState NOT_SENT
        +
        No request has been sent to the server
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static RequestState[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (RequestState c : RequestState.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static RequestState valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html new file mode 100644 index 0000000..df46532 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html @@ -0,0 +1,352 @@ + + + + + +RoboRallyClient + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking
+

Class RoboRallyClient

+
+
+ +
+
    +
  • +
    +
    +
    public class RoboRallyClient
    +extends java.lang.Object
    +
    This class represents a client capable of connecting to a Robo Rally server
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RoboRallyClient(RoboRallyUI wrapper) +
      Instantiates a new Robo Rally client
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidconnect(java.lang.String ipAddress, + int serverPort) +
      Connects to a Robo Rally server
      +
      java.util.List<java.net.InetAddress>getLanServers(int UDPPort) +
      Gets a list of addresses of local Robo Rally servers
      +
      RequestStategetLastRequestState() +
      Gets the state of the lastly sent request
      +
      voidsendElement(java.lang.Object object) +
      Sends something to the server
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RoboRallyClient

        +
        public RoboRallyClient(RoboRallyUI wrapper)
        +
        Instantiates a new Robo Rally client
        +
        +
        Parameters:
        +
        wrapper - The Robo Rally UI to be used
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        connect

        +
        public void connect(java.lang.String ipAddress,
        +                    int serverPort)
        +             throws java.io.IOException
        +
        Connects to a Robo Rally server
        +
        +
        Parameters:
        +
        ipAddress - The ip address of the server to join
        +
        serverPort - The port the server is hosted on
        +
        Throws:
        +
        java.io.IOException - If the server cannot be connected to
        +
        +
      • +
      + + + +
        +
      • +

        getLanServers

        +
        public java.util.List<java.net.InetAddress> getLanServers(int UDPPort)
        +
        Gets a list of addresses of local Robo Rally servers
        +
        +
        Parameters:
        +
        UDPPort - The port used by the game for UDP requests
        +
        Returns:
        +
        A list of server ip addresses
        +
        +
      • +
      + + + +
        +
      • +

        getLastRequestState

        +
        public RequestState getLastRequestState()
        +
        Gets the state of the lastly sent request
        +
        +
        Returns:
        +
        The state of the lastly sent request
        +
        +
      • +
      + + + +
        +
      • +

        sendElement

        +
        public void sendElement(java.lang.Object object)
        +
        Sends something to the server
        +
        +
        Parameters:
        +
        object - The object to send to the server
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html new file mode 100644 index 0000000..0f6e646 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html @@ -0,0 +1,386 @@ + + + + + +RoboRallyServer + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking
+

Class RoboRallyServer

+
+
+ +
+
    +
  • +
    +
    +
    public class RoboRallyServer
    +extends java.lang.Object
    +
    This class represents a Robo Rally Server
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RoboRallyServer(int serverPort) +
      Instantiates a new Robo Rally server
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.Map<com.esotericsoftware.kryonet.Connection,java.lang.String>getPlayerNames() +
      Gets a map between connections and their player name
      +
      java.util.Map<com.esotericsoftware.kryonet.Connection,RobotID>getRobotID() +
      Gets a map between connections and their robot id
      +
      voidsendToAllClients(java.lang.Object object) +
      Sends an object to all clients
      +
      voidsendToClient(com.esotericsoftware.kryonet.Connection connection, + java.lang.Object object) +
      Sends an object to a specific client
      +
      voidsetDeadPlayers(java.util.List<RobotID> deadRobotList) +
      Makes notice of players which are dead and as such should not be expected to send anything
      +
      voidstartGame() +
      Does necessary cleanup of dangling connections before game is started
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RoboRallyServer

        +
        public RoboRallyServer(int serverPort)
        +                throws java.io.IOException
        +
        Instantiates a new Robo Rally server
        +
        +
        Parameters:
        +
        serverPort - The port the server should listen on
        +
        Throws:
        +
        java.io.IOException - If the server cannot be started
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setDeadPlayers

        +
        public void setDeadPlayers(java.util.List<RobotID> deadRobotList)
        +
        Makes notice of players which are dead and as such should not be expected to send anything
        +
        +
        Parameters:
        +
        deadRobotList - A list of robot ids of robots which are permanently dead
        +
        +
      • +
      + + + +
        +
      • +

        getRobotID

        +
        public java.util.Map<com.esotericsoftware.kryonet.Connection,RobotID> getRobotID()
        +
        Gets a map between connections and their robot id
        +
        +
        Returns:
        +
        A mapping between connections and robot ids
        +
        +
      • +
      + + + +
        +
      • +

        getPlayerNames

        +
        public java.util.Map<com.esotericsoftware.kryonet.Connection,java.lang.String> getPlayerNames()
        +
        Gets a map between connections and their player name
        +
        +
        Returns:
        +
        A mapping between connections and robot ids
        +
        +
      • +
      + + + +
        +
      • +

        sendToAllClients

        +
        public void sendToAllClients(java.lang.Object object)
        +
        Sends an object to all clients
        +
        +
        Parameters:
        +
        object - The object to send
        +
        +
      • +
      + + + +
        +
      • +

        startGame

        +
        public void startGame()
        +
        Does necessary cleanup of dangling connections before game is started
        +
      • +
      + + + +
        +
      • +

        sendToClient

        +
        public void sendToClient(com.esotericsoftware.kryonet.Connection connection,
        +                         java.lang.Object object)
        +
        Sends an object to a specific client
        +
        +
        Parameters:
        +
        connection - The connection to send the object to
        +
        object - The object to send
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html new file mode 100644 index 0000000..994ad2d --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html @@ -0,0 +1,341 @@ + + + + + +ErrorResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class ErrorResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class ErrorResponse
    +extends java.lang.Object
    +
    This class represents a response saying that something went wrong with the request
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ErrorResponse() +
      Empty constructor required by KryoNet.
      +
      ErrorResponse(java.lang.String errorMessage) +
      Constructs a new error response
      +
      ErrorResponse(java.lang.String errorMessage, + boolean critical) +
      Constructs a new error response
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetErrorMessage() +
      Gets the error message attached to the error response
      +
      booleanisCritical() +
      Gets whether the error is critical or not
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ErrorResponse

        +
        public ErrorResponse(java.lang.String errorMessage)
        +
        Constructs a new error response
        +
        +
        Parameters:
        +
        errorMessage - The error message describing the error
        +
        +
      • +
      + + + +
        +
      • +

        ErrorResponse

        +
        public ErrorResponse()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        ErrorResponse

        +
        public ErrorResponse(java.lang.String errorMessage,
        +                     boolean critical)
        +
        Constructs a new error response
        +
        +
        Parameters:
        +
        errorMessage - The error message describing the error
        +
        critical - Whether the error is critical
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getErrorMessage

        +
        public java.lang.String getErrorMessage()
        +
        Gets the error message attached to the error response
        +
        +
        Returns:
        +
        An error message
        +
        +
      • +
      + + + +
        +
      • +

        isCritical

        +
        public boolean isCritical()
        +
        Gets whether the error is critical or not
        +
        +
        Returns:
        +
        True if the error is critical. False otherwise
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html new file mode 100644 index 0000000..d07bb78 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html @@ -0,0 +1,345 @@ + + + + + +GameStartInfoResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class GameStartInfoResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class GameStartInfoResponse
    +extends java.lang.Object
    +
    This class contains information about the game board to be used and the game's players
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      GameStartInfoResponse() +
      Empty constructor required by KryoNet.
      +
      GameStartInfoResponse(java.lang.String boardName, + java.util.List<Player> playerList, + java.lang.String playerName) +
      Instantiates a new GameStartInfoResponse object
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetBoardName() +
      Gets the board name
      +
      java.util.List<Player>getPlayerList() +
      Gets the list of players
      +
      java.lang.StringgetPlayerName() +
      Gets the player name of the current player
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GameStartInfoResponse

        +
        public GameStartInfoResponse()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        GameStartInfoResponse

        +
        public GameStartInfoResponse(java.lang.String boardName,
        +                             java.util.List<Player> playerList,
        +                             java.lang.String playerName)
        +
        Instantiates a new GameStartInfoResponse object
        +
        +
        Parameters:
        +
        boardName - The name of the board to be used, with extension
        +
        playerList - List of players for the game
        +
        playerName - The player name of the receiver
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPlayerName

        +
        public java.lang.String getPlayerName()
        +
        Gets the player name of the current player
        +
        +
        Returns:
        +
        The player name of the current player
        +
        +
      • +
      + + + +
        +
      • +

        getPlayerList

        +
        public java.util.List<Player> getPlayerList()
        +
        Gets the list of players
        +
        +
        Returns:
        +
        A list of players
        +
        +
      • +
      + + + +
        +
      • +

        getBoardName

        +
        public java.lang.String getBoardName()
        +
        Gets the board name
        +
        +
        Returns:
        +
        The board name
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html new file mode 100644 index 0000000..e56a3f2 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html @@ -0,0 +1,322 @@ + + + + + +HandResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class HandResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class HandResponse
    +extends java.lang.Object
    +
    A response containing the client's new hand
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HandResponse

        +
        public HandResponse()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        HandResponse

        +
        public HandResponse(ProgrammingCardDeck newHand,
        +                    ProgrammingCardDeck extraCards)
        +
        Instantiates a new programming card deck response
        +
        +
        Parameters:
        +
        newHand - The new hand of the client
        +
        extraCards - Extra cards necessary if the robot has no program to lock
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNewHand

        +
        public ProgrammingCardDeck getNewHand()
        +
        Gets the hand contained within the response
        +
        +
        Returns:
        +
        The client's new hand
        +
        +
      • +
      + + + +
        +
      • +

        getExtraCards

        +
        public ProgrammingCardDeck getExtraCards()
        +
        Gets the extra cards contained within the response
        +
        +
        Returns:
        +
        Extra cards necessary to lock registers
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html new file mode 100644 index 0000000..77318dd --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html @@ -0,0 +1,236 @@ + + + + + +HurryResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class HurryResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class HurryResponse
    +extends java.lang.Object
    +
    A response telling the client to hurry up the action it's doing because other clients are waiting
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      HurryResponse() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        HurryResponse

        +
        public HurryResponse()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html new file mode 100644 index 0000000..5fe016a --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html @@ -0,0 +1,236 @@ + + + + + +OkayResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class OkayResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class OkayResponse
    +extends java.lang.Object
    +
    An empty response telling the client its request was fulfilled
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      OkayResponse() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        OkayResponse

        +
        public OkayResponse()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html new file mode 100644 index 0000000..64ae74a --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html @@ -0,0 +1,299 @@ + + + + + +PowerDownContainerResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class PowerDownContainerResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class PowerDownContainerResponse
    +extends java.lang.Object
    +
    This class is used to contain power down status for all players
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      PowerDownContainerResponse() +
      Empty constructor required by KryoNet.
      +
      PowerDownContainerResponse(java.util.Map<java.lang.String,java.lang.Boolean> powerDown) +
      Instantiates a new power down container
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.Map<java.lang.String,java.lang.Boolean>getPowerDown() +
      Gets the power down map stored in the container
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PowerDownContainerResponse

        +
        public PowerDownContainerResponse()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        PowerDownContainerResponse

        +
        public PowerDownContainerResponse(java.util.Map<java.lang.String,java.lang.Boolean> powerDown)
        +
        Instantiates a new power down container
        +
        +
        Parameters:
        +
        powerDown - A map between player names and whether they should remain in power down
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPowerDown

        +
        public java.util.Map<java.lang.String,java.lang.Boolean> getPowerDown()
        +
        Gets the power down map stored in the container
        +
        +
        Returns:
        +
        A map between player name and stay in power down
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html new file mode 100644 index 0000000..13af7ff --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html @@ -0,0 +1,299 @@ + + + + + +ProgramAndPowerdownRequest + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class ProgramAndPowerdownRequest

+
+
+ +
+
    +
  • +
    +
    +
    public class ProgramAndPowerdownRequest
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProgramAndPowerdownRequest

        +
        public ProgramAndPowerdownRequest()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        ProgramAndPowerdownRequest

        +
        public ProgramAndPowerdownRequest(java.lang.Boolean powerdown,
        +                                  java.util.List<ProgrammingCard> program)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        getPowerdown

        +
        public java.lang.Boolean getPowerdown()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html new file mode 100644 index 0000000..58e167b --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html @@ -0,0 +1,322 @@ + + + + + +ProgramsContainerResponse + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class ProgramsContainerResponse

+
+
+ +
+
    +
  • +
    +
    +
    public class ProgramsContainerResponse
    +extends java.lang.Object
    +
    This class contains information about all players' programs and whether they want to enter power down
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ProgramsContainerResponse() +
      Empty constructor required by KryoNet.
      +
      ProgramsContainerResponse(java.util.Map<java.lang.String,java.util.List<ProgrammingCard>> programsMap, + java.util.Map<java.lang.String,java.lang.Boolean> powerDownMap) +
      Instantiates a new programs container
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.util.Map<java.lang.String,java.lang.Boolean>getPowerDownMap() +
      Gets the map of power down
      +
      java.util.Map<java.lang.String,java.util.List<ProgrammingCard>>getProgramsMap() +
      Gets the map of programs
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProgramsContainerResponse

        +
        public ProgramsContainerResponse()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        ProgramsContainerResponse

        +
        public ProgramsContainerResponse(java.util.Map<java.lang.String,java.util.List<ProgrammingCard>> programsMap,
        +                                 java.util.Map<java.lang.String,java.lang.Boolean> powerDownMap)
        +
        Instantiates a new programs container
        +
        +
        Parameters:
        +
        programsMap - A map between a player name and a player's program
        +
        powerDownMap - A map between a player name and power down
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProgramsMap

        +
        public java.util.Map<java.lang.String,java.util.List<ProgrammingCard>> getProgramsMap()
        +
        Gets the map of programs
        +
        +
        Returns:
        +
        A map between a player name and a player's program
        +
        +
      • +
      + + + +
        +
      • +

        getPowerDownMap

        +
        public java.util.Map<java.lang.String,java.lang.Boolean> getPowerDownMap()
        +
        Gets the map of power down
        +
        +
        Returns:
        +
        A map between a player name and power down
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html new file mode 100644 index 0000000..531a7f9 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html @@ -0,0 +1,299 @@ + + + + + +UsernameRequest + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.networking.containers
+

Class UsernameRequest

+
+
+ +
+
    +
  • +
    +
    +
    public class UsernameRequest
    +extends java.lang.Object
    +
    A request for sending a username to the server
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      UsernameRequest() +
      Empty constructor required by KryoNet.
      +
      UsernameRequest(java.lang.String username) +
      Instantiates a new username request
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetUsername() +
      Gets the username the user wants to use
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UsernameRequest

        +
        public UsernameRequest()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      + + + +
        +
      • +

        UsernameRequest

        +
        public UsernameRequest(java.lang.String username)
        +
        Instantiates a new username request
        +
        +
        Parameters:
        +
        username - The username the player wants to use
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getUsername

        +
        public java.lang.String getUsername()
        +
        Gets the username the user wants to use
        +
        +
        Returns:
        +
        The username the user wants to use
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html new file mode 100644 index 0000000..192ae3d --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html @@ -0,0 +1,28 @@ + + + + + +inf112.fiasko.roborally.networking.containers + + + + + +

inf112.fiasko.roborally.networking.containers

+
+

Classes

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html new file mode 100644 index 0000000..eb8f72d --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html @@ -0,0 +1,188 @@ + + + + + +inf112.fiasko.roborally.networking.containers + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.networking.containers

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-tree.html new file mode 100644 index 0000000..8246501 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-tree.html @@ -0,0 +1,143 @@ + + + + + +inf112.fiasko.roborally.networking.containers Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.networking.containers

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html new file mode 100644 index 0000000..8c02381 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html @@ -0,0 +1,25 @@ + + + + + +inf112.fiasko.roborally.networking + + + + + +

inf112.fiasko.roborally.networking

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html new file mode 100644 index 0000000..6b20647 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html @@ -0,0 +1,165 @@ + + + + + +inf112.fiasko.roborally.networking + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.networking

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/networking/package-tree.html new file mode 100644 index 0000000..1f99a3b --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/networking/package-tree.html @@ -0,0 +1,148 @@ + + + + + +inf112.fiasko.roborally.networking Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.networking

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html b/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html new file mode 100644 index 0000000..c979214 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html @@ -0,0 +1,506 @@ + + + + + +AbstractDeck + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class AbstractDeck<T>

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Deck<T>
    +
    +
    +
    Direct Known Subclasses:
    +
    ProgrammingCardDeck
    +
    +
    +
    +
    public abstract class AbstractDeck<T>
    +extends java.lang.Object
    +implements Deck<T>
    +
    This class represents a deck of cards
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      AbstractDeck() 
      AbstractDeck(java.util.List<T> cardList) +
      Initializes the deck with cards
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voiddraw(Deck<T> other) +
      Draws one card from the other deck
      +
      voiddraw(Deck<T> other, + int n) +
      Draws multiple cards from the other deck
      +
      voidemptyInto(Deck<T> other) +
      Empty the entire deck into the other deck
      +
      java.util.List<T>getCards() +
      Gets a list of all the cards in the deck
      +
      booleanisEmpty() +
      Checks if the deck is empty
      +
      TpeekBottom() +
      Looks at the bottom card of the deck
      +
      TpeekTop() +
      Looks at the top card in the deck
      +
      voidshuffle() +
      Randomises the order of the deck
      +
      intsize() +
      Gets the size of the deck
      +
      java.lang.StringtoString() +
      Gets the card from the deck in String format
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractDeck

        +
        public AbstractDeck()
        +
      • +
      + + + +
        +
      • +

        AbstractDeck

        +
        public AbstractDeck(java.util.List<T> cardList)
        +
        Initializes the deck with cards
        +
        +
        Parameters:
        +
        cardList - list of cards
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        shuffle

        +
        public void shuffle()
        +
        Randomises the order of the deck
        +
        +
        Specified by:
        +
        shuffle in interface Deck<T>
        +
        +
      • +
      + + + +
        +
      • +

        draw

        +
        public void draw(Deck<T> other)
        +
        Draws one card from the other deck
        +
        +
        Specified by:
        +
        draw in interface Deck<T>
        +
        Parameters:
        +
        other - The deck to draw the card from
        +
        +
      • +
      + + + +
        +
      • +

        draw

        +
        public void draw(Deck<T> other,
        +                 int n)
        +
        Draws multiple cards from the other deck
        +
        +
        Specified by:
        +
        draw in interface Deck<T>
        +
        Parameters:
        +
        other - The other deck to draw from
        +
        n - The number of cards to draw
        +
        +
      • +
      + + + +
        +
      • +

        emptyInto

        +
        public void emptyInto(Deck<T> other)
        +
        Empty the entire deck into the other deck
        +
        +
        Specified by:
        +
        emptyInto in interface Deck<T>
        +
        Parameters:
        +
        other - The deck to move this deck's cards into
        +
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        public boolean isEmpty()
        +
        Checks if the deck is empty
        +
        +
        Specified by:
        +
        isEmpty in interface Deck<T>
        +
        Returns:
        +
        Boolean for if the deck is empty
        +
        +
      • +
      + + + +
        +
      • +

        size

        +
        public int size()
        +
        Gets the size of the deck
        +
        +
        Specified by:
        +
        size in interface Deck<T>
        +
        Returns:
        +
        int size of the deck
        +
        +
      • +
      + + + +
        +
      • +

        getCards

        +
        public java.util.List<T> getCards()
        +
        Gets a list of all the cards in the deck
        +
        +
        Specified by:
        +
        getCards in interface Deck<T>
        +
        Returns:
        +
        ArrayList of cards from the deck
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        Gets the card from the deck in String format
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        Returns:
        +
        String the cards from the deck
        +
        +
      • +
      + + + +
        +
      • +

        peekTop

        +
        public T peekTop()
        +
        Looks at the top card in the deck
        +
        +
        Specified by:
        +
        peekTop in interface Deck<T>
        +
        Returns:
        +
        ProgrammingCard the first card in the deck
        +
        +
      • +
      + + + +
        +
      • +

        peekBottom

        +
        public T peekBottom()
        +
        Looks at the bottom card of the deck
        +
        +
        Specified by:
        +
        peekBottom in interface Deck<T>
        +
        Returns:
        +
        ProgrammingCard the last card in the deck
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Board.html b/docs/javadoc/inf112/fiasko/roborally/objects/Board.html new file mode 100644 index 0000000..4aaf19a --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Board.html @@ -0,0 +1,1126 @@ + + + + + +Board + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Board

+
+
+ +
+
    +
  • +
    +
    +
    public class Board
    +extends java.lang.Object
    +
    This class represents a board
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Board

        +
        public Board(Grid<Tile> tiles,
        +             Grid<Wall> walls,
        +             java.util.List<Robot> robots)
        +
        Initializes the board
        +
        +
        Parameters:
        +
        tiles - A grid containing all tiles
        +
        walls - A grid containing all walls
        +
        robots - A list of all robots in the game
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRealDeadRobots

        +
        public java.util.List<RobotID> getRealDeadRobots()
        +
        Gets a list of robots no longer part of the game
        +
        +
        Returns:
        +
        Robots no longer part of the game
        +
        +
      • +
      + + + +
        +
      • +

        getBoardHeight

        +
        public int getBoardHeight()
        +
        Gets the height of the board
        +
        +
        Returns:
        +
        The height of the board
        +
        +
      • +
      + + + +
        +
      • +

        getBoardWidth

        +
        public int getBoardWidth()
        +
        Gets the width of the board
        +
        +
        Returns:
        +
        The width of the board
        +
        +
      • +
      + + + +
        +
      • +

        getAliveRobots

        +
        public java.util.List<Robot> getAliveRobots()
        +
        Gets all alive robots from the board
        +
        +
        Returns:
        +
        A list of alive robots
        +
        +
      • +
      + + + +
        +
      • +

        getAllRobots

        +
        public java.util.List<Robot> getAllRobots()
        +
        Gets all robots from the board
        +
        +
        Returns:
        +
        A list of robots
        +
        +
      • +
      + + + +
        +
      • +

        getTiles

        +
        public java.util.List<Tile> getTiles()
        +
        Gets all the tiles from the board
        +
        +
        Returns:
        +
        A list of all tiles on the board
        +
        +
      • +
      + + + +
        +
      • +

        getWalls

        +
        public java.util.List<Wall> getWalls()
        +
        Gets all the walls from the board
        +
        +
        Returns:
        +
        A list of all the walls on the board
        +
        +
      • +
      + + + +
        +
      • +

        getParticles

        +
        public java.util.List<Particle> getParticles()
        +
        Gets all the particles from the board
        +
        +
        Returns:
        +
        A list of all the particles on the board
        +
        +
      • +
      + + + +
        +
      • +

        rotateRobotLeft

        +
        public void rotateRobotLeft(RobotID robotID)
        +
        Rotates a robot to the right
        +
        +
        Parameters:
        +
        robotID - The id of the robot to rotate
        +
        +
      • +
      + + + +
        +
      • +

        rotateRobotRight

        +
        public void rotateRobotRight(RobotID robotID)
        +
        Rotates a robot to the left
        +
        +
        Parameters:
        +
        robotID - The id of the robot to rotate
        +
        +
      • +
      + + + +
        +
      • +

        moveRobotForward

        +
        public void moveRobotForward(RobotID robotID)
        +
        Moves a robot one unit forward according to the direction it's currently facing
        +
        +
        Parameters:
        +
        robotID - The robot to move
        +
        +
      • +
      + + + +
        +
      • +

        reverseRobot

        +
        public void reverseRobot(RobotID robotID)
        +
        Moves a robot one unit backwards according to the direction it's currently facing
        +
        +
        Parameters:
        +
        robotID - The robot to move
        +
        +
      • +
      + + + +
        +
      • +

        setPowerDown

        +
        public void setPowerDown(RobotID robotID,
        +                         java.lang.Boolean powerDown)
        +
        Sets the power down status of the robot
        +
        +
        Parameters:
        +
        robotID - The robot id of the robot
        +
        powerDown - The status of the power down
        +
        +
      • +
      + + + +
        +
      • +

        setBackupPositionOfRobot

        +
        public void setBackupPositionOfRobot(RobotID robotID,
        +                                     Position position)
        +
        Sets the backup position of a given robot to a given position
        +
        +
        Parameters:
        +
        robotID - The robot to change backup position for
        +
        position - The robot's new backup position
        +
        +
      • +
      + + + +
        +
      • +

        getPowerDown

        +
        public boolean getPowerDown(RobotID robotID)
        +
        Gets the power down status of the robot
        +
        +
        Parameters:
        +
        robotID - The robot id of the robot
        +
        Returns:
        +
        The power down status of the robot
        +
        +
      • +
      + + + +
        +
      • +

        repairRobotOnTile

        +
        public void repairRobotOnTile(RobotID robotID)
        +
        Removes one damage for a given robot given that it has taken som damage before
        +
        +
        Parameters:
        +
        robotID - the ID of the robot
        +
        +
      • +
      + + + +
        +
      • +

        executePowerDown

        +
        public void executePowerDown()
        +
        Sets the damage taken of robots in power down to 0
        +
      • +
      + + + +
        +
      • +

        getRobotDamage

        +
        public int getRobotDamage(RobotID robot)
        +
        Get the damage of a specific robot
        +
        +
        Parameters:
        +
        robot - The RobotID of a robot
        +
        Returns:
        +
        The amount of damage the robot has currently
        +
        +
      • +
      + + + +
        +
      • +

        moveRobot

        +
        public boolean moveRobot(RobotID robotID,
        +                         Direction direction)
        +
        Moves a robot one unit in a specified direction
        +
        +
        Parameters:
        +
        robotID - Id of the robot to move
        +
        direction - The direction to move the robot
        +
        Returns:
        +
        True if the robot moved away from its old position
        +
        +
      • +
      + + + +
        +
      • +

        isConveyorBelt

        +
        public boolean isConveyorBelt(Tile tile)
        +
        Checks whether a given tile is a conveyor belt
        +
        +
        Parameters:
        +
        tile - The tile to check
        +
        Returns:
        +
        True if the tile is a conveyor belt
        +
        +
      • +
      + + + +
        +
      • +

        teleportRobot

        +
        public void teleportRobot(RobotID robotID,
        +                          Position newPosition)
        +
        Teleports a robot to some position without verification + +

        Be quite careful about using this method. No validation will me done. The robot will magically disappear from + one position and appear on another, hence the name. This method should only be used when the new position has + been confirmed available.

        +
        +
        Parameters:
        +
        robotID - The id of the robot to teleport
        +
        newPosition - The position the robot should teleport to
        +
        +
      • +
      + + + +
        +
      • +

        conveyorBeltCanMove

        +
        public boolean conveyorBeltCanMove(BoardElementContainer<Tile> conveyorBelt,
        +                                   int iterations)
        +
        Checks whether a given conveyor belt is able to move in its direction
        +
        +
        Parameters:
        +
        conveyorBelt - The conveyor belt to move
        +
        iterations - The number of recursive calls already executed
        +
        Returns:
        +
        True if nothing is blocking its movement
        +
        +
      • +
      + + + +
        +
      • +

        respawnRobots

        +
        public void respawnRobots()
        +
        Moves all dead robots to their backups and makes them part of the board again, and if a robot has no lives + it will be removed from the game.
        +
      • +
      + + + +
        +
      • +

        respawnRobot

        +
        public void respawnRobot(Robot robot)
        +
        Re-spawns a robot at the first available position relative to its backup position
        +
        +
        Parameters:
        +
        robot - The robot to re-spawn
        +
        +
      • +
      + + + +
        +
      • +

        tryRobotRespawn

        +
        public boolean tryRobotRespawn(Robot robot,
        +                               int size,
        +                               int startX,
        +                               int startY,
        +                               Direction direction)
        +
        Tries to re-spawn a robot on one of the positions described
        +
        +
        Parameters:
        +
        robot - The robot to re-spawn
        +
        size - The size of the square relative to the robot's spawn to try
        +
        startX - The x coordinate of the robot's backup position
        +
        startY - The y coordinate of the robot's backup position
        +
        direction - The direction of the face of the square to check
        +
        Returns:
        +
        Whether the robot was re-spawned
        +
        +
      • +
      + + + +
        +
      • +

        updateRobotBackups

        +
        public void updateRobotBackups()
        +
        Updates backup position of all robots on a repair tile
        +
      • +
      + + + +
        +
      • +

        getRobotOnPosition

        +
        public RobotID getRobotOnPosition(Position position)
        +
        Returns a robot id for a robot on a specific position if such a robot exists
        +
        +
        Parameters:
        +
        position - The position to check
        +
        Returns:
        +
        The robot id of the robot on the position or null if there is no robot there
        +
        +
      • +
      + + + +
        +
      • +

        isRobotAlive

        +
        public boolean isRobotAlive(RobotID robot)
        +
        Checks if a specific robot is currently alive on the board
        +
        +
        Parameters:
        +
        robot - the ID of the robot you want to check
        +
        Returns:
        +
        True/False based on if the robot was found.
        +
        +
      • +
      + + + +
        +
      • +

        updateRobotFlag

        +
        public void updateRobotFlag(RobotID robotID,
        +                            BoardElementContainer<Tile> flag)
        +
        Updates the flag of the robot if it stands on the correct flag.
        +
        +
        Parameters:
        +
        robotID - The RobotID of a robot
        +
        flag - BoardElementContainer of the flag we check
        +
        +
      • +
      + + + +
        +
      • +

        getNewPosition

        +
        public Position getNewPosition(Position oldPosition,
        +                               Direction direction)
        +
        Gets the position 1 unit in a specific direction from another position
        +
        +
        Parameters:
        +
        oldPosition - The old/current position of the element
        +
        direction - The direction to move the element
        +
        Returns:
        +
        The new position of the element
        +
        +
      • +
      + + + +
        +
      • +

        fireAllLasers

        +
        public void fireAllLasers()
        +
        Fires all lasers on the board and kills any robot that has taken to much damage after all lasers have fired.
        +
      • +
      + + + +
        +
      • +

        doLaserCleanup

        +
        public void doLaserCleanup()
        +
        Does necessary cleanup after lasers have been fired
        +
      • +
      + + + +
        +
      • +

        getTileOnPosition

        +
        public Tile getTileOnPosition(Position position)
        +
        Gets the tile on a specific position
        +
        +
        Parameters:
        +
        position - The position to get a tile from
        +
        Returns:
        +
        The tile on the given position
        +
        +
      • +
      + + + +
        +
      • +

        getPositionsOfTilesOnBoard

        +
        public java.util.List<BoardElementContainer<Tile>> getPositionsOfTilesOnBoard(TileType... tiles)
        +
        Gets a list of BoardElementContainers, containing all tiles and positions of given tile types
        +
        +
        Parameters:
        +
        tiles - The tiles you want all positions for
        +
        Returns:
        +
        A list of BoardElementContainers
        +
        +
      • +
      + + + +
        +
      • +

        getPositionsOfWallsOnBoard

        +
        public java.util.List<BoardElementContainer<Wall>> getPositionsOfWallsOnBoard(WallType... walls)
        +
        Gets a list of BoardElementContainers, containing all tiles and positions of given wall types
        +
        +
        Parameters:
        +
        walls - The walls you want all positions for
        +
        Returns:
        +
        A list of BoardElementContainers
        +
        +
      • +
      + + + +
        +
      • +

        hasRobotOnPosition

        +
        public boolean hasRobotOnPosition(Position position)
        +
        Checks whether there exists a robot on a specific position
        +
        +
        Parameters:
        +
        position - The position to check
        +
        Returns:
        +
        True if there is a robot on the specified position
        +
        +
      • +
      + + + +
        +
      • +

        isValidPosition

        +
        public boolean isValidPosition(Position position)
        +
        Checks whether a given position is valid
        +
        +
        Parameters:
        +
        position - The position to test
        +
        Returns:
        +
        True if the position is valid. False otherwise
        +
        +
      • +
      + + + +
        +
      • +

        getLastFlagVisited

        +
        public int getLastFlagVisited(RobotID robotID)
        +
        Gets the int corresponding to the flag a robot has last visited
        +
        +
        Parameters:
        +
        robotID - The robot to be checked
        +
        Returns:
        +
        The flag last visited in a number
        +
        +
      • +
      + + + +
        +
      • +

        setHasTouchedFlagThisTurn

        +
        public void setHasTouchedFlagThisTurn(RobotID robotID,
        +                                      boolean hasTouched)
        +
        Sets a boolean for if the robot has touched a flag this turn
        +
        +
        Parameters:
        +
        robotID - The robot to be checked
        +
        hasTouched - If the robot has touched a flag this turn
        +
        +
      • +
      + + + +
        +
      • +

        hasTouchedFlagThisTurn

        +
        public boolean hasTouchedFlagThisTurn(RobotID robotID)
        +
        Checks a boolean for if the robot has touched a flag this turn
        +
        +
        Parameters:
        +
        robotID - The robot to be checked
        +
        Returns:
        +
        If the robot has touched a flag this turn
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html new file mode 100644 index 0000000..41e1155 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html @@ -0,0 +1,295 @@ + + + + + +BoardElement + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Interface BoardElement<K>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    K - The type of the element
    +
    +
    +
    All Known Implementing Classes:
    +
    Particle, Tile, Wall
    +
    +
    +
    +
    public interface BoardElement<K>
    +
    Represents an element on the board
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getType

        +
        K getType()
        +
        Gets the type of the element
        +
        +
        Returns:
        +
        An enum value of type K
        +
        +
      • +
      + + + +
        +
      • +

        getDirection

        +
        Direction getDirection()
        +
        Gets the direction of the element
        +
        +
        Returns:
        +
        The element's direction
        +
        +
      • +
      + + + +
        +
      • +

        setDirection

        +
        void setDirection(Direction newDirection)
        +
        Changes the direction of the element
        +
        +
        Parameters:
        +
        newDirection - The element's new direction
        +
        +
      • +
      + + + +
        +
      • +

        copy

        +
        BoardElement<K> copy()
        +
        Makes a copy of the board element
        +
        +
        Returns:
        +
        A copy of the element
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html new file mode 100644 index 0000000..f8ba071 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html @@ -0,0 +1,313 @@ + + + + + +BoardElementContainer + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class BoardElementContainer<K extends BoardElement>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    K - The type of element
    +
    +
    +
    +
    public class BoardElementContainer<K extends BoardElement>
    +extends java.lang.Object
    +
    This class represents a board element and its position
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      BoardElementContainer(K element, + Position position) +
      Initializes the BoardElementContainer
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      KgetElement() +
      Gets the element
      +
      PositiongetPosition() +
      Gets the position of the element
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        BoardElementContainer

        +
        public BoardElementContainer(K element,
        +                             Position position)
        +
        Initializes the BoardElementContainer
        +
        +
        Parameters:
        +
        element - The element
        +
        position - The position
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getElement

        +
        public K getElement()
        +
        Gets the element
        +
        +
        Returns:
        +
        The element
        +
        +
      • +
      + + + +
        +
      • +

        getPosition

        +
        public Position getPosition()
        +
        Gets the position of the element
        +
        +
        Returns:
        +
        The position of the element
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html b/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html new file mode 100644 index 0000000..989c9d1 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html @@ -0,0 +1,397 @@ + + + + + +Deck + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Interface Deck<T>

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    AbstractDeck, ProgrammingCardDeck
    +
    +
    +
    +
    public interface Deck<T>
    +
    Describes a deck + +

    Any card stored in the deck is assumed to be immutable. If it's not, the integrity of the deck cannot be + guaranteed.

    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      voiddraw(Deck<T> other) +
      Draws one card from the top of another deck
      +
      voiddraw(Deck<T> other, + int n) +
      Draws n cards from the top of another deck
      +
      voidemptyInto(Deck<T> other) +
      Moves all cards in this deck into another deck
      +
      java.util.List<T>getCards() +
      Gets a list of all cards in this deck + + The list should have the correct order according to the actual order within the deck.
      +
      booleanisEmpty() +
      Whether this deck is empty
      +
      TpeekBottom() +
      Takes a peek at the card currently at the bottom of the deck
      +
      TpeekTop() +
      Takes a peek at the card currently at the top of the deck
      +
      voidshuffle() +
      Shuffles the order of the cards in the deck
      +
      intsize() +
      Gets the number of cards currently in this deck
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        shuffle

        +
        void shuffle()
        +
        Shuffles the order of the cards in the deck
        +
      • +
      + + + +
        +
      • +

        draw

        +
        void draw(Deck<T> other)
        +
        Draws one card from the top of another deck
        +
        +
        Parameters:
        +
        other - The deck to draw the card from
        +
        +
      • +
      + + + +
        +
      • +

        draw

        +
        void draw(Deck<T> other,
        +          int n)
        +
        Draws n cards from the top of another deck
        +
        +
        Parameters:
        +
        other - The other deck to draw from
        +
        n - The number of cards to draw
        +
        +
      • +
      + + + +
        +
      • +

        emptyInto

        +
        void emptyInto(Deck<T> other)
        +
        Moves all cards in this deck into another deck
        +
        +
        Parameters:
        +
        other - The deck to move this deck's cards into
        +
        +
      • +
      + + + +
        +
      • +

        isEmpty

        +
        boolean isEmpty()
        +
        Whether this deck is empty
        +
        +
        Returns:
        +
        True if this deck is currently empty
        +
        +
      • +
      + + + +
        +
      • +

        size

        +
        int size()
        +
        Gets the number of cards currently in this deck
        +
        +
        Returns:
        +
        The number of cards in this deck
        +
        +
      • +
      + + + +
        +
      • +

        peekTop

        +
        T peekTop()
        +
        Takes a peek at the card currently at the top of the deck
        +
        +
        Returns:
        +
        The card at the top of the deck
        +
        +
      • +
      + + + +
        +
      • +

        peekBottom

        +
        T peekBottom()
        +
        Takes a peek at the card currently at the bottom of the deck
        +
        +
        Returns:
        +
        The card at the bottom of the deck
        +
        +
      • +
      + + + +
        +
      • +

        getCards

        +
        java.util.List<T> getCards()
        +
        Gets a list of all cards in this deck + +

        The list should have the correct order according to the actual order within the deck.

        +
        +
        Returns:
        +
        A list of all cards in this deck
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html new file mode 100644 index 0000000..f1761d7 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html @@ -0,0 +1,386 @@ + + + + + +DrawableGame + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Interface DrawableGame

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    RoboRallyGame
    +
    +
    +
    +
    public interface DrawableGame
    +
    This interface describes a game drawable using libgdx
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      java.util.List<Robot>getAllRobots() +
      Gets a list of all robots still participating
      +
      intgetHeight() +
      Gets the number of tiles in the y direction
      +
      java.util.List<Particle>getParticlesToDraw() +
      Gets a list of all the particles to be drawn + + Should return a list readable from top-left to top-right and so on.
      +
      java.util.List<Player>getPlayers() +
      Gets a list of active players to receive information about player names
      +
      java.util.List<Robot>getRobotsToDraw() +
      Gets a list of all robots to draw
      +
      java.util.List<Tile>getTilesToDraw() +
      Gets a list of all the tiles to be drawn + + Should return a list readable from top-left to top-right and so on.
      +
      java.util.List<Wall>getWallsToDraw() +
      Gets a list of all the walls to be drawn + + Should return a list readable from top-left to top-right and so on.
      +
      intgetWidth() +
      Gets the number of tiles in the x direction
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getWidth

        +
        int getWidth()
        +
        Gets the number of tiles in the x direction
        +
        +
        Returns:
        +
        A positive integer
        +
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        int getHeight()
        +
        Gets the number of tiles in the y direction
        +
        +
        Returns:
        +
        A positive integer
        +
        +
      • +
      + + + +
        +
      • +

        getTilesToDraw

        +
        java.util.List<Tile> getTilesToDraw()
        +
        Gets a list of all the tiles to be drawn + +

        Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() tiles + should be drawn on the top row from left to right.

        +
        +
        Returns:
        +
        A list of tiles
        +
        +
      • +
      + + + +
        +
      • +

        getWallsToDraw

        +
        java.util.List<Wall> getWallsToDraw()
        +
        Gets a list of all the walls to be drawn + +

        Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() walls + should be drawn on the top row from left to right.

        +
        +
        Returns:
        +
        A list of walls
        +
        +
      • +
      + + + +
        +
      • +

        getParticlesToDraw

        +
        java.util.List<Particle> getParticlesToDraw()
        +
        Gets a list of all the particles to be drawn + +

        Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() + particles should be drawn on the top row from left to right.

        +
        +
        Returns:
        +
        A list of particles
        +
        +
      • +
      + + + +
        +
      • +

        getRobotsToDraw

        +
        java.util.List<Robot> getRobotsToDraw()
        +
        Gets a list of all robots to draw
        +
        +
        Returns:
        +
        A list of all robots to draw
        +
        +
      • +
      + + + +
        +
      • +

        getAllRobots

        +
        java.util.List<Robot> getAllRobots()
        +
        Gets a list of all robots still participating
        +
        +
        Returns:
        +
        A list of all robots
        +
        +
      • +
      + + + +
        +
      • +

        getPlayers

        +
        java.util.List<Player> getPlayers()
        +
        Gets a list of active players to receive information about player names
        +
        +
        Returns:
        +
        A list of players
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html new file mode 100644 index 0000000..aeb217a --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html @@ -0,0 +1,516 @@ + + + + + +DrawableObject + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class DrawableObject

+
+
+ +
+
    +
  • +
    +
    +
    public class DrawableObject
    +extends java.lang.Object
    +
    This class represents an object that can be drawn using libgdx
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      DrawableObject(com.badlogic.gdx.graphics.g2d.TextureRegion texture, + int xPos, + int yPos) +
      Initializes a new drawable object
      +
      DrawableObject(com.badlogic.gdx.graphics.g2d.TextureRegion texture, + int xPos, + int yPos, + int width, + int height, + int rotation) +
      Initializes a drawable object
      +
      DrawableObject(com.badlogic.gdx.graphics.g2d.TextureRegion texture, + int xPos, + int yPos, + int width, + int height, + int rotation, + boolean flipX, + boolean flipY) +
      Initializes a drawable object
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanflipX() +
      Whether to flip the texture on the x-axis when rendering
      +
      booleanflipY() +
      Whether to flip the texture on the y-axis when rendering
      +
      intgetHeight() +
      Gets the height of the object
      +
      intgetRotation() +
      Gets the number of degrees to rotate the texture counterclockwise when rendering
      +
      com.badlogic.gdx.graphics.g2d.TextureRegiongetTexture() +
      Gets the texture to use for drawing the object
      +
      intgetWidth() +
      Gets the width of the object
      +
      intgetXPosition() +
      Gets the x position the object should be drawn on + + The x position should be in terms of the actual pixel position on the rendered game, not the position according + to the game tile.
      +
      intgetYPosition() +
      Gets the y position the object should be drawn on + + The y position should be in terms of the actual pixel position on the rendered game, not the position according + to the game tile.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DrawableObject

        +
        public DrawableObject(com.badlogic.gdx.graphics.g2d.TextureRegion texture,
        +                      int xPos,
        +                      int yPos,
        +                      int width,
        +                      int height,
        +                      int rotation,
        +                      boolean flipX,
        +                      boolean flipY)
        +
        Initializes a drawable object
        +
        +
        Parameters:
        +
        texture - The texture to use for drawing the element
        +
        xPos - The pixel to start drawing on for the x axis
        +
        yPos - The pixel to start drawing on for the y axis
        +
        width - The width of the element
        +
        height - The height of the element
        +
        rotation - The amount of degrees to rotate the element counterclockwise
        +
        flipX - Whether to flip/mirror the element over the x axis
        +
        flipY - Whether to flip/mirror the element over the y axis
        +
        +
      • +
      + + + +
        +
      • +

        DrawableObject

        +
        public DrawableObject(com.badlogic.gdx.graphics.g2d.TextureRegion texture,
        +                      int xPos,
        +                      int yPos,
        +                      int width,
        +                      int height,
        +                      int rotation)
        +
        Initializes a drawable object
        +
        +
        Parameters:
        +
        texture - The texture to use for drawing the element
        +
        xPos - The pixel to start drawing on for the x axis
        +
        yPos - The pixel to start drawing on for the y axis
        +
        width - The width of the element
        +
        height - The height of the element
        +
        rotation - The amount of degrees to rotate the element counterclockwise
        +
        +
      • +
      + + + +
        +
      • +

        DrawableObject

        +
        public DrawableObject(com.badlogic.gdx.graphics.g2d.TextureRegion texture,
        +                      int xPos,
        +                      int yPos)
        +
        Initializes a new drawable object
        +
        +
        Parameters:
        +
        texture - The texture to use for drawing the element
        +
        xPos - The pixel to start drawing on for the x axis
        +
        yPos - The pixel to start drawing on for the y axis
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getTexture

        +
        public com.badlogic.gdx.graphics.g2d.TextureRegion getTexture()
        +
        Gets the texture to use for drawing the object
        +
        +
        Returns:
        +
        The texture of the object
        +
        +
      • +
      + + + +
        +
      • +

        getXPosition

        +
        public int getXPosition()
        +
        Gets the x position the object should be drawn on + +

        The x position should be in terms of the actual pixel position on the rendered game, not the position according + to the game tile. E.g. (128,64) not (2,1).

        +
        +
        Returns:
        +
        An x position libgdx
        +
        +
      • +
      + + + +
        +
      • +

        getYPosition

        +
        public int getYPosition()
        +
        Gets the y position the object should be drawn on + +

        The y position should be in terms of the actual pixel position on the rendered game, not the position according + to the game tile. E.g. (128,64) not (2,1).

        +
        +
        Returns:
        +
        An x position libgdx
        +
        +
      • +
      + + + +
        +
      • +

        getWidth

        +
        public int getWidth()
        +
        Gets the width of the object
        +
        +
        Returns:
        +
        A positive integer
        +
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        public int getHeight()
        +
        Gets the height of the object
        +
        +
        Returns:
        +
        A positive integer
        +
        +
      • +
      + + + +
        +
      • +

        getRotation

        +
        public int getRotation()
        +
        Gets the number of degrees to rotate the texture counterclockwise when rendering
        +
        +
        Returns:
        +
        An integer
        +
        +
      • +
      + + + +
        +
      • +

        flipX

        +
        public boolean flipX()
        +
        Whether to flip the texture on the x-axis when rendering
        +
        +
        Returns:
        +
        True if the texture is to be flipped. False otherwise
        +
        +
      • +
      + + + +
        +
      • +

        flipY

        +
        public boolean flipY()
        +
        Whether to flip the texture on the y-axis when rendering
        +
        +
        Returns:
        +
        True if the texture is to be flipped. False otherwise
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html b/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html new file mode 100644 index 0000000..3d19be6 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html @@ -0,0 +1,314 @@ + + + + + +Grid + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Interface Grid<K>

+
+
+
+
    +
  • +
    +
    Type Parameters:
    +
    K - The type of element the grid is to store
    +
    +
    +
    All Known Implementing Classes:
    +
    ListGrid
    +
    +
    +
    +
    public interface Grid<K>
    +
    This Interface describes a grid
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      KgetElement(int x, + int y) +
      Gets the element in a given x and y coordinate
      +
      intgetHeight() +
      Gets height of the grid
      +
      intgetWidth() +
      Gets the width of the grid
      +
      voidsetElement(int x, + int y, + K element) +
      Places the element on the given x and y coordinate
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getWidth

        +
        int getWidth()
        +
        Gets the width of the grid
        +
        +
        Returns:
        +
        The width of the grid
        +
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        int getHeight()
        +
        Gets height of the grid
        +
        +
        Returns:
        +
        The height of the grid
        +
        +
      • +
      + + + +
        +
      • +

        getElement

        +
        K getElement(int x,
        +             int y)
        +      throws java.lang.IllegalArgumentException
        +
        Gets the element in a given x and y coordinate
        +
        +
        Parameters:
        +
        x - Coordinate in the grid
        +
        y - Coordinate in the grid
        +
        Returns:
        +
        Element in the x and y coordinate
        +
        Throws:
        +
        java.lang.IllegalArgumentException - Throws an exception if the coordinates are outside of the grid
        +
        +
      • +
      + + + + + +
        +
      • +

        setElement

        +
        void setElement(int x,
        +                int y,
        +                K element)
        +         throws java.lang.IllegalArgumentException
        +
        Places the element on the given x and y coordinate
        +
        +
        Parameters:
        +
        x - Coordinate in the grid
        +
        y - Coordinate in the grid
        +
        element - The element to place in the grid
        +
        Throws:
        +
        java.lang.IllegalArgumentException
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html b/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html new file mode 100644 index 0000000..e07d04e --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html @@ -0,0 +1,474 @@ + + + + + +InteractableGame + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Interface InteractableGame

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    RoboRallyGame
    +
    +
    +
    +
    public interface InteractableGame
    +
    This interface describes a game which can be interacted with
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getGameState

        +
        GameState getGameState()
        +
        Gets the current state of the game
        +
        +
        Returns:
        +
        The state the game is currently in
        +
        +
      • +
      + + + +
        +
      • +

        setGameState

        +
        void setGameState(GameState gameState)
        +
        Sets the state of the game
        +
        +
        Parameters:
        +
        gameState - The new state of the game
        +
        +
      • +
      + + + +
        +
      • +

        getWinningPlayerName

        +
        java.lang.String getWinningPlayerName()
        +
        Gets the name of the player who won
        +
        +
        Returns:
        +
        A string of the player name
        +
        +
      • +
      + + + +
        +
      • +

        setWinningPlayerName

        +
        void setWinningPlayerName(java.lang.String winningPlayerName)
        +
        Sets the name of the player that won the game
        +
        +
        Parameters:
        +
        winningPlayerName - The player winning the game
        +
        +
      • +
      + + + +
        +
      • +

        receiveAllPrograms

        +
        void receiveAllPrograms(ProgramsContainerResponse programs)
        +                 throws java.lang.InterruptedException
        +
        Continues turn when programs for all players are received from the server
        +
        +
        Parameters:
        +
        programs - The programs container received from the server
        +
        Throws:
        +
        java.lang.InterruptedException - If interrupted during sleep
        +
        +
      • +
      + + + +
        +
      • +

        receiveStayInPowerDown

        +
        void receiveStayInPowerDown(PowerDownContainerResponse powerDowns)
        +
        Continues turn when stay in power down is received from all players
        +
        +
        Parameters:
        +
        powerDowns - The power down container received from the server
        +
        +
      • +
      + + + +
        +
      • +

        getPlayerHand

        +
        ProgrammingCardDeck getPlayerHand()
        +
        Gets the hand of this player
        +
        +
        Returns:
        +
        The hand of this player
        +
        +
      • +
      + + + +
        +
      • +

        setPlayerHand

        +
        void setPlayerHand(ProgrammingCardDeck playerHand)
        +
        Sets the hand of this player
        +
        +
        Parameters:
        +
        playerHand - The new hand of this player
        +
        +
      • +
      + + + +
        +
      • +

        getExtraCards

        +
        ProgrammingCardDeck getExtraCards()
        +
        Gets extra cards necessary when the player has no program to lock
        +
        +
        Returns:
        +
        A deck of extra cards
        +
        +
      • +
      + + + +
        +
      • +

        setExtraCards

        +
        void setExtraCards(ProgrammingCardDeck extraCards)
        +
        Sets extra cards necessary when the player has no program to lock
        +
        +
        Parameters:
        +
        extraCards - The extra cards to use
        +
        +
      • +
      + + + +
        +
      • +

        getProgramSize

        +
        int getProgramSize()
        +
        Gets the amount of cards the player can choose for their program
        +
        +
        Returns:
        +
        The size of the player's next program
        +
        +
      • +
      + + + +
        +
      • +

        getProgram

        +
        java.util.List<ProgrammingCard> getProgram()
        +
        Gets the program of this player
        +
        +
        Returns:
        +
        The program of this player
        +
        +
      • +
      + + + +
        +
      • +

        setProgram

        +
        void setProgram(java.util.List<ProgrammingCard> program)
        +
        Sets the program of this player
        +
        +
        Parameters:
        +
        program - The program of this player
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html b/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html new file mode 100644 index 0000000..968ad57 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html @@ -0,0 +1,431 @@ + + + + + +ListGrid + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class ListGrid<K>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    K - The type of element the grid should store
    +
    +
    +
    All Implemented Interfaces:
    +
    Grid<K>
    +
    +
    +
    +
    public class ListGrid<K>
    +extends java.lang.Object
    +implements Grid<K>
    +
    This class represents a grid which can store anything
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ListGrid(int width, + int height) +
      Initializes an empty grid
      +
      ListGrid(int width, + int height, + K tile) +
      Initializes a grid filled with standard tiles.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      KgetElement(int x, + int y) +
      Gets the element in a given x and y coordinate
      +
      intgetHeight() +
      Gets height of the grid
      +
      intgetWidth() +
      Gets the width of the grid
      +
      voidsetElement(int x, + int y, + K element) +
      Places the element on the given x and y coordinate
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ListGrid

        +
        public ListGrid(int width,
        +                int height)
        +
        Initializes an empty grid
        +
        +
        Parameters:
        +
        width - The width of the grid
        +
        height - The height of the grid
        +
        +
      • +
      + + + + + +
        +
      • +

        ListGrid

        +
        public ListGrid(int width,
        +                int height,
        +                K tile)
        +
        Initializes a grid filled with standard tiles.
        +
        +
        Parameters:
        +
        height - sets the height of the grid
        +
        width - sets the width of the grid
        +
        tile - gives the TileType the grid is to be filled with
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getWidth

        +
        public int getWidth()
        +
        Description copied from interface: Grid
        +
        Gets the width of the grid
        +
        +
        Specified by:
        +
        getWidth in interface Grid<K>
        +
        Returns:
        +
        The width of the grid
        +
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        public int getHeight()
        +
        Description copied from interface: Grid
        +
        Gets height of the grid
        +
        +
        Specified by:
        +
        getHeight in interface Grid<K>
        +
        Returns:
        +
        The height of the grid
        +
        +
      • +
      + + + +
        +
      • +

        getElement

        +
        public K getElement(int x,
        +                    int y)
        +             throws java.lang.IllegalArgumentException
        +
        Description copied from interface: Grid
        +
        Gets the element in a given x and y coordinate
        +
        +
        Specified by:
        +
        getElement in interface Grid<K>
        +
        Parameters:
        +
        x - Coordinate in the grid
        +
        y - Coordinate in the grid
        +
        Returns:
        +
        Element in the x and y coordinate
        +
        Throws:
        +
        java.lang.IllegalArgumentException - Throws an exception if the coordinates are outside of the grid
        +
        +
      • +
      + + + + + +
        +
      • +

        setElement

        +
        public void setElement(int x,
        +                       int y,
        +                       K element)
        +                throws java.lang.IllegalArgumentException
        +
        Description copied from interface: Grid
        +
        Places the element on the given x and y coordinate
        +
        +
        Specified by:
        +
        setElement in interface Grid<K>
        +
        Parameters:
        +
        x - Coordinate in the grid
        +
        y - Coordinate in the grid
        +
        element - The element to place in the grid
        +
        Throws:
        +
        java.lang.IllegalArgumentException
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html b/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html new file mode 100644 index 0000000..cba6f53 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html @@ -0,0 +1,381 @@ + + + + + +Particle + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Particle

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Particle

        +
        public Particle(ParticleType particleType,
        +                Direction direction)
        +
        Instantiates a new particle
        +
        +
        Parameters:
        +
        particleType - The type of the particle
        +
        direction - The direction of the particle
        +
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html b/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html new file mode 100644 index 0000000..839a768 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html @@ -0,0 +1,441 @@ + + + + + +Phase + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Phase

+
+
+ +
+
    +
  • +
    +
    +
    public class Phase
    +extends java.lang.Object
    +
    This class handles everything that should happen during a phase
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Phase(Board gameBoard, + java.util.List<Player> playerList, + int cycleDelay, + InteractableGame game) +
      Instantiates a new phase
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidcheckAllFlags() +
      Checks all flags for robots.
      +
      voidfireAllLasers() +
      Fires all lasers on the game board
      +
      voidmakeMove(RobotID robotID, + Action action) +
      Makes the given robot move according to to the action input.
      +
      voidmoveAllConveyorBelts() +
      Moves robots standing on conveyor belts in the direction of the conveyor belt + + In addition, the function rotates appropriately when arriving at any non-straight conveyor belt.
      +
      voidrotateCogwheels() +
      Rotates all robots that are standing on cogWheel tiles on the board.
      +
      voidrunPhase(int phaseNumber) +
      Runs one phase as defined in the Robo Rally rulebook
      +
      voidrunProgrammingCards(int phase) +
      Runs all programming cards for a phase
      +
      voidupdateRobotRespawn() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Phase

        +
        public Phase(Board gameBoard,
        +             java.util.List<Player> playerList,
        +             int cycleDelay,
        +             InteractableGame game)
        +
        Instantiates a new phase
        +
        +
        Parameters:
        +
        gameBoard - The board to act on
        +
        playerList - A list of players participating in the game
        +
        cycleDelay - The amount of milliseconds to wait between moves
        +
        game - The game which uses this object
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        runPhase

        +
        public void runPhase(int phaseNumber)
        +              throws java.lang.InterruptedException
        +
        Runs one phase as defined in the Robo Rally rulebook
        +
        +
        Parameters:
        +
        phaseNumber - The number of the phase to run
        +
        Throws:
        +
        java.lang.InterruptedException - If interrupted wile trying to sleep
        +
        +
      • +
      + + + +
        +
      • +

        updateRobotRespawn

        +
        public void updateRobotRespawn()
        +
      • +
      + + + +
        +
      • +

        checkAllFlags

        +
        public void checkAllFlags()
        +
        Checks all flags for robots. Tries to update the flag of the robot.
        +
      • +
      + + + +
        +
      • +

        fireAllLasers

        +
        public void fireAllLasers()
        +                   throws java.lang.InterruptedException
        +
        Fires all lasers on the game board
        +
        +
        Throws:
        +
        java.lang.InterruptedException - If it gets interrupted while trying to sleep
        +
        +
      • +
      + + + +
        +
      • +

        runProgrammingCards

        +
        public void runProgrammingCards(int phase)
        +                         throws java.lang.InterruptedException
        +
        Runs all programming cards for a phase
        +
        +
        Parameters:
        +
        phase - The number of the phase to run cards for
        +
        Throws:
        +
        java.lang.InterruptedException - If it gets interrupted while trying to sleep
        +
        +
      • +
      + + + +
        +
      • +

        rotateCogwheels

        +
        public void rotateCogwheels()
        +                     throws java.lang.InterruptedException
        +
        Rotates all robots that are standing on cogWheel tiles on the board.
        +
        +
        Throws:
        +
        java.lang.InterruptedException - If interrupted while sleeping.
        +
        +
      • +
      + + + +
        +
      • +

        moveAllConveyorBelts

        +
        public void moveAllConveyorBelts()
        +                          throws java.lang.InterruptedException
        +
        Moves robots standing on conveyor belts in the direction of the conveyor belt + +

        In addition, the function rotates appropriately when arriving at any non-straight conveyor belt.

        +
        +
        Throws:
        +
        java.lang.InterruptedException - If disturbed during sleep
        +
        +
      • +
      + + + +
        +
      • +

        makeMove

        +
        public void makeMove(RobotID robotID,
        +                     Action action)
        +              throws java.lang.InterruptedException
        +
        Makes the given robot move according to to the action input.
        +
        +
        Parameters:
        +
        robotID - The ID of the robot to move.
        +
        action - The specific movement the robot is to take.
        +
        Throws:
        +
        java.lang.InterruptedException - If interrupted wile trying to sleep.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Player.html b/docs/javadoc/inf112/fiasko/roborally/objects/Player.html new file mode 100644 index 0000000..ce7488b --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Player.html @@ -0,0 +1,462 @@ + + + + + +Player + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Player

+
+
+ +
+
    +
  • +
    +
    +
    public class Player
    +extends java.lang.Object
    +
    This class represents a player
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Player

        +
        public Player(RobotID robotID,
        +              java.lang.String name)
        +
        Instantiates a new player
        +
        +
        Parameters:
        +
        robotID - the global identifier of the robot
        +
        name - the unique name of the player
        +
        +
      • +
      + + + +
        +
      • +

        Player

        +
        public Player()
        +
        Empty constructor required by kryo
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRobotID

        +
        public RobotID getRobotID()
        +
        Gets the RobotID of a player
        +
        +
        Returns:
        +
        A RobotID
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
        Gets the name of the player
        +
        +
        Returns:
        +
        A player Name
        +
        +
      • +
      + + + +
        +
      • +

        getProgram

        +
        public java.util.List<ProgrammingCard> getProgram()
        +
        Gets the players program
        +
        +
        Returns:
        +
        A list of programming cards
        +
        +
      • +
      + + + +
        +
      • +

        setProgram

        +
        public void setProgram(java.util.List<ProgrammingCard> cardList)
        +
        Sets the Players program to the given list of programing cards
        +
        +
        Parameters:
        +
        cardList - list the size of 5 with programing cards
        +
        +
      • +
      + + + +
        +
      • +

        getProgrammingCardDeck

        +
        public ProgrammingCardDeck getProgrammingCardDeck()
        +
        Gets the player hand/deck
        +
        +
        Returns:
        +
        A deck
        +
        +
      • +
      + + + +
        +
      • +

        setProgrammingCardDeck

        +
        public void setProgrammingCardDeck(ProgrammingCardDeck playerDeck)
        +
        Sets the players deck to the given deck
        +
        +
        Parameters:
        +
        playerDeck - A deck of cards given to the player
        +
        +
      • +
      + + + +
        +
      • +

        getLockedProgrammingCardDeck

        +
        public ProgrammingCardDeck getLockedProgrammingCardDeck()
        +
        Gets the player deck with locked cards
        +
        +
        Returns:
        +
        a deck with locked cards
        +
        +
      • +
      + + + +
        +
      • +

        getPowerDownNextRound

        +
        public boolean getPowerDownNextRound()
        +
        Gets the players power down status
        +
        +
        Returns:
        +
        Whether the player is to power down
        +
        +
      • +
      + + + +
        +
      • +

        setPowerDownNextRound

        +
        public void setPowerDownNextRound(boolean powerDownStatus)
        +
        Sets the power down status
        +
        +
        Parameters:
        +
        powerDownStatus - Whether the player is to take power down next turn
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html new file mode 100644 index 0000000..042e343 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html @@ -0,0 +1,378 @@ + + + + + +ProgrammingCard + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class ProgrammingCard

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Comparable<ProgrammingCard>
    +
    +
    +
    +
    public class ProgrammingCard
    +extends java.lang.Object
    +implements java.lang.Comparable<ProgrammingCard>
    +
    This class represents a programming card
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + + + + +
      Constructors 
      Constructor and Description
      ProgrammingCard() +
      Empty constructor required by KryoNet.
      +
      ProgrammingCard(int cardPriority, + Action cardAction) +
      Initializes the priority and the action of the card
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intcompareTo(ProgrammingCard programmingCard) 
      booleanequals(java.lang.Object other) 
      ActiongetAction() +
      Gets the action of the programming card
      +
      intgetPriority() +
      Gets the priority of the programming card
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProgrammingCard

        +
        public ProgrammingCard(int cardPriority,
        +                       Action cardAction)
        +
        Initializes the priority and the action of the card
        +
        +
        Parameters:
        +
        cardPriority - the priority of the card
        +
        cardAction - the action of the card
        +
        +
      • +
      + + + +
        +
      • +

        ProgrammingCard

        +
        public ProgrammingCard()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPriority

        +
        public int getPriority()
        +
        Gets the priority of the programming card
        +
        +
        Returns:
        +
        The programming card priority
        +
        +
      • +
      + + + +
        +
      • +

        getAction

        +
        public Action getAction()
        +
        Gets the action of the programming card
        +
        +
        Returns:
        +
        The programming card action
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object other)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        compareTo

        +
        public int compareTo(ProgrammingCard programmingCard)
        +
        +
        Specified by:
        +
        compareTo in interface java.lang.Comparable<ProgrammingCard>
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html new file mode 100644 index 0000000..daece9f --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html @@ -0,0 +1,274 @@ + + + + + +ProgrammingCardDeck + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class ProgrammingCardDeck

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ProgrammingCardDeck

        +
        public ProgrammingCardDeck(java.util.List<ProgrammingCard> cardList)
        +
        Initializes the PlayerDeck with a list of cards
        +
        +
        Parameters:
        +
        cardList - list of programing cards
        +
        +
      • +
      + + + +
        +
      • +

        ProgrammingCardDeck

        +
        public ProgrammingCardDeck()
        +
        Empty constructor required by KryoNet. DO NOT REMOVE THIS!!!
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html b/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html new file mode 100644 index 0000000..04f7a4c --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html @@ -0,0 +1,818 @@ + + + + + +RoboRallyGame + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class RoboRallyGame

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RoboRallyGame(java.util.List<Player> playerList, + java.lang.String boardName, + java.lang.String playerName, + RoboRallyServer server, + java.lang.Boolean testingMode) +
      Instantiates a new Robo Rally game
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RoboRallyGame

        +
        public RoboRallyGame(java.util.List<Player> playerList,
        +                     java.lang.String boardName,
        +                     java.lang.String playerName,
        +                     RoboRallyServer server,
        +                     java.lang.Boolean testingMode)
        +
        Instantiates a new Robo Rally game
        +
        +
        Parameters:
        +
        playerList - A list of all the players participating in the game
        +
        boardName - The playerName of the board to use
        +
        playerName - The name of the player of this instance of the game
        +
        server - The server if this player is host. Should be null otherwise
        +
        testingMode - Whether the game should use the test deck rather than the proper deck
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRobotPowerDown

        +
        public java.lang.Boolean getRobotPowerDown()
        +
        Gets the power down status of the client playing this instance of the game
        +
        +
        Returns:
        +
        Whether this player's robot is in power down
        +
        +
      • +
      + + + +
        +
      • +

        getWidth

        +
        public int getWidth()
        +
        Description copied from interface: DrawableGame
        +
        Gets the number of tiles in the x direction
        +
        +
        Specified by:
        +
        getWidth in interface DrawableGame
        +
        Returns:
        +
        A positive integer
        +
        +
      • +
      + + + +
        +
      • +

        getHeight

        +
        public int getHeight()
        +
        Description copied from interface: DrawableGame
        +
        Gets the number of tiles in the y direction
        +
        +
        Specified by:
        +
        getHeight in interface DrawableGame
        +
        Returns:
        +
        A positive integer
        +
        +
      • +
      + + + +
        +
      • +

        getTilesToDraw

        +
        public java.util.List<Tile> getTilesToDraw()
        +
        Description copied from interface: DrawableGame
        +
        Gets a list of all the tiles to be drawn + +

        Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() tiles + should be drawn on the top row from left to right.

        +
        +
        Specified by:
        +
        getTilesToDraw in interface DrawableGame
        +
        Returns:
        +
        A list of tiles
        +
        +
      • +
      + + + +
        +
      • +

        getWallsToDraw

        +
        public java.util.List<Wall> getWallsToDraw()
        +
        Description copied from interface: DrawableGame
        +
        Gets a list of all the walls to be drawn + +

        Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() walls + should be drawn on the top row from left to right.

        +
        +
        Specified by:
        +
        getWallsToDraw in interface DrawableGame
        +
        Returns:
        +
        A list of walls
        +
        +
      • +
      + + + +
        +
      • +

        getParticlesToDraw

        +
        public java.util.List<Particle> getParticlesToDraw()
        +
        Description copied from interface: DrawableGame
        +
        Gets a list of all the particles to be drawn + +

        Should return a list readable from top-left to top-right and so on. In other words, the first getWidth() + particles should be drawn on the top row from left to right.

        +
        +
        Specified by:
        +
        getParticlesToDraw in interface DrawableGame
        +
        Returns:
        +
        A list of particles
        +
        +
      • +
      + + + +
        +
      • +

        getRobotsToDraw

        +
        public java.util.List<Robot> getRobotsToDraw()
        +
        Description copied from interface: DrawableGame
        +
        Gets a list of all robots to draw
        +
        +
        Specified by:
        +
        getRobotsToDraw in interface DrawableGame
        +
        Returns:
        +
        A list of all robots to draw
        +
        +
      • +
      + + + +
        +
      • +

        getAllRobots

        +
        public java.util.List<Robot> getAllRobots()
        +
        Description copied from interface: DrawableGame
        +
        Gets a list of all robots still participating
        +
        +
        Specified by:
        +
        getAllRobots in interface DrawableGame
        +
        Returns:
        +
        A list of all robots
        +
        +
      • +
      + + + +
        +
      • +

        getPlayers

        +
        public java.util.List<Player> getPlayers()
        +
        Description copied from interface: DrawableGame
        +
        Gets a list of active players to receive information about player names
        +
        +
        Specified by:
        +
        getPlayers in interface DrawableGame
        +
        Returns:
        +
        A list of players
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setGameState

        +
        public void setGameState(GameState gameState)
        +
        Description copied from interface: InteractableGame
        +
        Sets the state of the game
        +
        +
        Specified by:
        +
        setGameState in interface InteractableGame
        +
        Parameters:
        +
        gameState - The new state of the game
        +
        +
      • +
      + + + + + + + + + + + + + + + +
        +
      • +

        setExtraCards

        +
        public void setExtraCards(ProgrammingCardDeck extraCards)
        +
        Description copied from interface: InteractableGame
        +
        Sets extra cards necessary when the player has no program to lock
        +
        +
        Specified by:
        +
        setExtraCards in interface InteractableGame
        +
        Parameters:
        +
        extraCards - The extra cards to use
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setProgram

        +
        public void setProgram(java.util.List<ProgrammingCard> program)
        +
        Description copied from interface: InteractableGame
        +
        Sets the program of this player
        +
        +
        Specified by:
        +
        setProgram in interface InteractableGame
        +
        Parameters:
        +
        program - The program of this player
        +
        +
      • +
      + + + +
        +
      • +

        getProgramSize

        +
        public int getProgramSize()
        +
        Description copied from interface: InteractableGame
        +
        Gets the amount of cards the player can choose for their program
        +
        +
        Specified by:
        +
        getProgramSize in interface InteractableGame
        +
        Returns:
        +
        The size of the player's next program
        +
        +
      • +
      + + + +
        +
      • +

        receiveAllPrograms

        +
        public void receiveAllPrograms(ProgramsContainerResponse programs)
        +                        throws java.lang.InterruptedException
        +
        Description copied from interface: InteractableGame
        +
        Continues turn when programs for all players are received from the server
        +
        +
        Specified by:
        +
        receiveAllPrograms in interface InteractableGame
        +
        Parameters:
        +
        programs - The programs container received from the server
        +
        Throws:
        +
        java.lang.InterruptedException - If interrupted during sleep
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getWinningPlayerName

        +
        public java.lang.String getWinningPlayerName()
        +
        Description copied from interface: InteractableGame
        +
        Gets the name of the player who won
        +
        +
        Specified by:
        +
        getWinningPlayerName in interface InteractableGame
        +
        Returns:
        +
        A string of the player name
        +
        +
      • +
      + + + +
        +
      • +

        setWinningPlayerName

        +
        public void setWinningPlayerName(java.lang.String winningPlayerName)
        +
        Description copied from interface: InteractableGame
        +
        Sets the name of the player that won the game
        +
        +
        Specified by:
        +
        setWinningPlayerName in interface InteractableGame
        +
        Parameters:
        +
        winningPlayerName - The player winning the game
        +
        +
      • +
      + + + +
        +
      • +

        runTurn

        +
        public void runTurn()
        +
        Starts a turn in the game
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html b/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html new file mode 100644 index 0000000..e1f8645 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html @@ -0,0 +1,629 @@ + + + + + +Robot + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Robot

+
+
+ +
+
    +
  • +
    +
    +
    public class Robot
    +extends java.lang.Object
    +
    This class represents a robot
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Robot(RobotID robotId, + Position spawnPosition) +
      Instantiates a new robot
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      Robotcopy() +
      Makes a copy of this robot with the same properties as this robot
      +
      intgetAmountOfLives() +
      Gets the amount of life a robot has left.
      +
      PositiongetBackupPosition() +
      Gets the robot's backup position
      +
      intgetDamageTaken() +
      Gets the damage the robot has taken
      +
      DirectiongetFacingDirection() +
      Gets the direction the robot is currently facing
      +
      intgetLastFlagVisited() +
      Gets the last flag the robot visited
      +
      PositiongetPosition() +
      Gets the robot's current position on the board
      +
      RobotIDgetRobotId() +
      Gets the robot ID
      +
      booleanhasTouchedFlagThisTurn() +
      True if the robot has touched a flag in the current turn
      +
      java.lang.BooleanisInPowerDown() +
      Gets the robot's power-down status
      +
      voidsetAmountOfLives(int amountOfLives) +
      Sets the amount if life the robot has left
      +
      voidsetBackupPosition(Position backupPosition) +
      Sets the backup position of the robot
      +
      voidsetDamageTaken(int damage) +
      Sets the robot's taken damage to a given amount
      +
      voidsetFacingDirection(Direction newFacingDirection) +
      Sets the direction the robot is currently facing
      +
      voidsetHasTouchedFlagThisTurn(boolean hasTouchedFlagThisTurn) +
      Sets the boolean value to true if the robot touches a flag during a turn, + and false at the end of each turn.
      +
      voidsetLastFlagVisited(int currentFlag) +
      Set the robot's last visited flag to the new flag and places its backup on the flag's position
      +
      voidsetPosition(Position newPosition) +
      Sets the robot's current position on the board
      +
      voidsetPowerDown(java.lang.Boolean powerDownStatus) +
      Sets power-down status
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Robot

        +
        public Robot(RobotID robotId,
        +             Position spawnPosition)
        +
        Instantiates a new robot
        +
        +
        Parameters:
        +
        robotId - The global identifier of the robot
        +
        spawnPosition - The starting position of the robot
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        hasTouchedFlagThisTurn

        +
        public boolean hasTouchedFlagThisTurn()
        +
        True if the robot has touched a flag in the current turn
        +
        +
        Returns:
        +
        a boolean
        +
        +
      • +
      + + + +
        +
      • +

        setHasTouchedFlagThisTurn

        +
        public void setHasTouchedFlagThisTurn(boolean hasTouchedFlagThisTurn)
        +
        Sets the boolean value to true if the robot touches a flag during a turn, + and false at the end of each turn.
        +
        +
        Parameters:
        +
        hasTouchedFlagThisTurn - the boolean value to be set.
        +
        +
      • +
      + + + +
        +
      • +

        getDamageTaken

        +
        public int getDamageTaken()
        +
        Gets the damage the robot has taken
        +
        +
        Returns:
        +
        The amount of damage the robot has received
        +
        +
      • +
      + + + +
        +
      • +

        setDamageTaken

        +
        public void setDamageTaken(int damage)
        +
        Sets the robot's taken damage to a given amount
        +
        +
        Parameters:
        +
        damage - The amount of damage the robot has received
        +
        +
      • +
      + + + +
        +
      • +

        getPosition

        +
        public Position getPosition()
        +
        Gets the robot's current position on the board
        +
        +
        Returns:
        +
        The robot's current position
        +
        +
      • +
      + + + +
        +
      • +

        setPosition

        +
        public void setPosition(Position newPosition)
        +
        Sets the robot's current position on the board
        +
        +
        Parameters:
        +
        newPosition - The new position of the robot
        +
        +
      • +
      + + + +
        +
      • +

        setPowerDown

        +
        public void setPowerDown(java.lang.Boolean powerDownStatus)
        +
        Sets power-down status
        +
        +
        Parameters:
        +
        powerDownStatus - Whether the robot is currently in power-down
        +
        +
      • +
      + + + +
        +
      • +

        isInPowerDown

        +
        public java.lang.Boolean isInPowerDown()
        +
        Gets the robot's power-down status
        +
        +
        Returns:
        +
        Whether the robot is currently in power-down
        +
        +
      • +
      + + + +
        +
      • +

        getLastFlagVisited

        +
        public int getLastFlagVisited()
        +
        Gets the last flag the robot visited
        +
        +
        Returns:
        +
        Last visited flag
        +
        +
      • +
      + + + +
        +
      • +

        setLastFlagVisited

        +
        public void setLastFlagVisited(int currentFlag)
        +
        Set the robot's last visited flag to the new flag and places its backup on the flag's position
        +
        +
        Parameters:
        +
        currentFlag - The flag the robot is standing on
        +
        +
      • +
      + + + +
        +
      • +

        getBackupPosition

        +
        public Position getBackupPosition()
        +
        Gets the robot's backup position
        +
        +
        Returns:
        +
        The robot's backup position
        +
        +
      • +
      + + + +
        +
      • +

        setBackupPosition

        +
        public void setBackupPosition(Position backupPosition)
        +
        Sets the backup position of the robot
        +
        +
        Parameters:
        +
        backupPosition - The new backup position of the robot
        +
        +
      • +
      + + + +
        +
      • +

        getRobotId

        +
        public RobotID getRobotId()
        +
        Gets the robot ID
        +
        +
        Returns:
        +
        Robot ID
        +
        +
      • +
      + + + +
        +
      • +

        getFacingDirection

        +
        public Direction getFacingDirection()
        +
        Gets the direction the robot is currently facing
        +
        +
        Returns:
        +
        The direction the robot is facing
        +
        +
      • +
      + + + +
        +
      • +

        setFacingDirection

        +
        public void setFacingDirection(Direction newFacingDirection)
        +
        Sets the direction the robot is currently facing
        +
        +
        Parameters:
        +
        newFacingDirection - The new direction the robot should be facing
        +
        +
      • +
      + + + +
        +
      • +

        getAmountOfLives

        +
        public int getAmountOfLives()
        +
        Gets the amount of life a robot has left.
        +
        +
        Returns:
        +
        amount of life left
        +
        +
      • +
      + + + +
        +
      • +

        setAmountOfLives

        +
        public void setAmountOfLives(int amountOfLives)
        +
        Sets the amount if life the robot has left
        +
        +
        Parameters:
        +
        amountOfLives - the new amount if lives the robot has left
        +
        +
      • +
      + + + +
        +
      • +

        copy

        +
        public Robot copy()
        +
        Makes a copy of this robot with the same properties as this robot
        +
        +
        Returns:
        +
        A copy of this robot
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html b/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html new file mode 100644 index 0000000..9281803 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html @@ -0,0 +1,381 @@ + + + + + +Tile + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Tile

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Tile(TileType tileType, + Direction direction) +
      Instantiates a new tile
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Tile

        +
        public Tile(TileType tileType,
        +            Direction direction)
        +
        Instantiates a new tile
        +
        +
        Parameters:
        +
        tileType - The type of the tile
        +
        direction - The direction of the tile
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        setDirection

        +
        public void setDirection(Direction newDirection)
        +
        Description copied from interface: BoardElement
        +
        Changes the direction of the element
        +
        +
        Specified by:
        +
        setDirection in interface BoardElement<TileType>
        +
        Parameters:
        +
        newDirection - The element's new direction
        +
        +
      • +
      + + + + + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html b/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html new file mode 100644 index 0000000..404b0bb --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html @@ -0,0 +1,302 @@ + + + + + +TwoTuple + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class TwoTuple<T,K>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    T - The type of the first value
    +
    K - The type of the second value
    +
    +
    +
    +
    public class TwoTuple<T,K>
    +extends java.lang.Object
    +
    A class which can save a tuple with two values
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      Tvalue1 
      Kvalue2 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TwoTuple(T value1, + K value2) +
      Instantiates a new 2-tuple
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        value1

        +
        public final T value1
        +
      • +
      + + + +
        +
      • +

        value2

        +
        public final K value2
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        TwoTuple

        +
        public TwoTuple(T value1,
        +                K value2)
        +
        Instantiates a new 2-tuple
        +
        +
        Parameters:
        +
        value1 - The first value of the tuple
        +
        value2 - The second value of the tuple
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html b/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html new file mode 100644 index 0000000..525aa64 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html @@ -0,0 +1,381 @@ + + + + + +Wall + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects
+

Class Wall

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Wall

        +
        public Wall(WallType wallType,
        +            Direction direction)
        +
        Initializes a wall
        +
        +
        Parameters:
        +
        wallType - The type of the wall
        +
        direction - The direction of the wall
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        setDirection

        +
        public void setDirection(Direction newDirection)
        +
        Description copied from interface: BoardElement
        +
        Changes the direction of the element
        +
        +
        Specified by:
        +
        setDirection in interface BoardElement<WallType>
        +
        Parameters:
        +
        newDirection - The element's new direction
        +
        +
      • +
      + + + + + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html new file mode 100644 index 0000000..bafa2d5 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html @@ -0,0 +1,42 @@ + + + + + +inf112.fiasko.roborally.objects + + + + + +

inf112.fiasko.roborally.objects

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html new file mode 100644 index 0000000..2bc57a0 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html @@ -0,0 +1,269 @@ + + + + + +inf112.fiasko.roborally.objects + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.objects

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/objects/package-tree.html new file mode 100644 index 0000000..d416507 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/package-tree.html @@ -0,0 +1,160 @@ + + + + + +inf112.fiasko.roborally.objects Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.objects

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html new file mode 100644 index 0000000..6426ae3 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html @@ -0,0 +1,421 @@ + + + + + +Action + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum Action

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Action>
    +
    +
    +
    +
    public enum Action
    +extends java.lang.Enum<Action>
    +
    This enum represents an action on a programming card
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      BACK_UP +
      The action of moving a robot one tile backward
      +
      MOVE_1 +
      The action of moving a robot one tile forward
      +
      MOVE_2 +
      The action of moving a robot two tiles forward
      +
      MOVE_3 +
      The action of moving a robot three tiles forward
      +
      ROTATE_LEFT +
      The action of rotating a robot counterclockwise
      +
      ROTATE_RIGHT +
      The action of rotating a robot clockwise
      +
      U_TURN +
      The action of rotating a robot 180 degrees
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static ActionvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Action[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        ROTATE_RIGHT

        +
        public static final Action ROTATE_RIGHT
        +
        The action of rotating a robot clockwise
        +
      • +
      + + + +
        +
      • +

        ROTATE_LEFT

        +
        public static final Action ROTATE_LEFT
        +
        The action of rotating a robot counterclockwise
        +
      • +
      + + + +
        +
      • +

        U_TURN

        +
        public static final Action U_TURN
        +
        The action of rotating a robot 180 degrees
        +
      • +
      + + + +
        +
      • +

        MOVE_1

        +
        public static final Action MOVE_1
        +
        The action of moving a robot one tile forward
        +
      • +
      + + + +
        +
      • +

        MOVE_2

        +
        public static final Action MOVE_2
        +
        The action of moving a robot two tiles forward
        +
      • +
      + + + +
        +
      • +

        MOVE_3

        +
        public static final Action MOVE_3
        +
        The action of moving a robot three tiles forward
        +
      • +
      + + + +
        +
      • +

        BACK_UP

        +
        public static final Action BACK_UP
        +
        The action of moving a robot one tile backward
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Action[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Action c : Action.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Action valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html new file mode 100644 index 0000000..020877c --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html @@ -0,0 +1,577 @@ + + + + + +Direction + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum Direction

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<Direction>
    +
    +
    +
    +
    public enum Direction
    +extends java.lang.Enum<Direction>
    +
    This enum represents all possible directions for an element on the board
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      EAST +
      The east direction
      +
      NORTH +
      The north direction
      +
      NORTH_EAST +
      The north-east direction
      +
      NORTH_WEST +
      The north-west direction
      +
      SOUTH +
      The south direction
      +
      SOUTH_EAST +
      The south-east direction
      +
      SOUTH_WEST +
      The south-west direction
      +
      WEST +
      The west direction
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static booleanarePerpendicular(Direction direction1, + Direction direction2) +
      Checks whether two directions are perpendicular
      +
      static DirectiongetDirectionFromID(int directionID) +
      Gets a direction from its numerical id
      +
      intgetDirectionID() +
      Gets the numerical identifier used for alternate identification of a direction
      +
      static DirectiongetLeftRotatedDirection(Direction direction) +
      Gets the direction if something rotated to the left + + A rotation is assumed to be a ninety degrees rotation, so NORTH would become WEST and so on.
      +
      static DirectiongetReverseDirection(Direction direction) +
      Gets the reverse of a direction
      +
      static DirectiongetRightRotatedDirection(Direction direction) +
      Gets the direction if something rotated to the right + + A rotation is assumed to be a ninety degrees rotation, so NORTH would become EAST and so on.
      +
      static DirectionvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static Direction[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        NORTH

        +
        public static final Direction NORTH
        +
        The north direction
        +
      • +
      + + + +
        +
      • +

        NORTH_EAST

        +
        public static final Direction NORTH_EAST
        +
        The north-east direction
        +
      • +
      + + + +
        +
      • +

        EAST

        +
        public static final Direction EAST
        +
        The east direction
        +
      • +
      + + + +
        +
      • +

        SOUTH_EAST

        +
        public static final Direction SOUTH_EAST
        +
        The south-east direction
        +
      • +
      + + + +
        +
      • +

        SOUTH

        +
        public static final Direction SOUTH
        +
        The south direction
        +
      • +
      + + + +
        +
      • +

        SOUTH_WEST

        +
        public static final Direction SOUTH_WEST
        +
        The south-west direction
        +
      • +
      + + + +
        +
      • +

        WEST

        +
        public static final Direction WEST
        +
        The west direction
        +
      • +
      + + + +
        +
      • +

        NORTH_WEST

        +
        public static final Direction NORTH_WEST
        +
        The north-west direction
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static Direction[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (Direction c : Direction.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static Direction valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getDirectionFromID

        +
        public static Direction getDirectionFromID(int directionID)
        +
        Gets a direction from its numerical id
        +
        +
        Parameters:
        +
        directionID - The numerical representation of a direction
        +
        Returns:
        +
        The enum value representing the direction, or null if the id is invalid
        +
        +
      • +
      + + + +
        +
      • +

        arePerpendicular

        +
        public static boolean arePerpendicular(Direction direction1,
        +                                       Direction direction2)
        +
        Checks whether two directions are perpendicular
        +
        +
        Parameters:
        +
        direction1 - The first direction
        +
        direction2 - The second direction
        +
        Returns:
        +
        True if the directions are perpendicular
        +
        +
      • +
      + + + +
        +
      • +

        getReverseDirection

        +
        public static Direction getReverseDirection(Direction direction)
        +
        Gets the reverse of a direction
        +
        +
        Parameters:
        +
        direction - A direction
        +
        Returns:
        +
        The reverse direction
        +
        +
      • +
      + + + +
        +
      • +

        getLeftRotatedDirection

        +
        public static Direction getLeftRotatedDirection(Direction direction)
        +
        Gets the direction if something rotated to the left + +

        A rotation is assumed to be a ninety degrees rotation, so NORTH would become WEST and so on.

        +
        +
        Parameters:
        +
        direction - A direction
        +
        Returns:
        +
        The left rotated direction
        +
        +
      • +
      + + + +
        +
      • +

        getRightRotatedDirection

        +
        public static Direction getRightRotatedDirection(Direction direction)
        +
        Gets the direction if something rotated to the right + +

        A rotation is assumed to be a ninety degrees rotation, so NORTH would become EAST and so on.

        +
        +
        Parameters:
        +
        direction - A direction
        +
        Returns:
        +
        The left rotated direction
        +
        +
      • +
      + + + +
        +
      • +

        getDirectionID

        +
        public int getDirectionID()
        +
        Gets the numerical identifier used for alternate identification of a direction
        +
        +
        Returns:
        +
        The numerical id of the direction
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html new file mode 100644 index 0000000..b43889a --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html @@ -0,0 +1,496 @@ + + + + + +GameState + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum GameState

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<GameState>
    +
    +
    +
    +
    public enum GameState
    +extends java.lang.Enum<GameState>
    +
    This enum represents the different states the game can be in
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      BEGINNING_OF_GAME +
      At the absolute start of the game, before anything has happened
      +
      CHOOSING_CARDS +
      Indicates that the user is in the process of choosing cards
      +
      CHOOSING_STAY_IN_POWER_DOWN +
      Indicates that the user is in the process of choosing whether to stay in power down
      +
      EXITED +
      Indicates that the game is no longer running
      +
      GAME_IS_WON +
      Indicates that the game is won by a player
      +
      INITIAL_SETUP +
      The game is in the process of setting up things which are needed before it's ready for user input
      +
      RUNNING_PROGRAMS +
      Indicates that the users' input is being run.
      +
      SKIP_POWER_DOWN_SCREEN +
      Indicates that the game is in the process of skipping the power down screen
      +
      SKIP_STAY_IN_POWER_DOWN +
      Indicates that the game is in the process of skipping the stay in power down screen
      +
      TURN_CLEANUP +
      Indicates that the game is in the process of cleaning up after a turn
      +
      WAITING_FOR_CARDS_FROM_SERVER +
      Indicates that the game is waiting on a new deck from the server
      +
      WAITING_FOR_OTHER_PLAYERS_PROGRAMS +
      Indicates that the game is waiting for other players to finish programming
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static GameStatevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static GameState[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        BEGINNING_OF_GAME

        +
        public static final GameState BEGINNING_OF_GAME
        +
        At the absolute start of the game, before anything has happened
        +
      • +
      + + + +
        +
      • +

        RUNNING_PROGRAMS

        +
        public static final GameState RUNNING_PROGRAMS
        +
        Indicates that the users' input is being run. The board should be shown
        +
      • +
      + + + +
        +
      • +

        INITIAL_SETUP

        +
        public static final GameState INITIAL_SETUP
        +
        The game is in the process of setting up things which are needed before it's ready for user input
        +
      • +
      + + + +
        +
      • +

        TURN_CLEANUP

        +
        public static final GameState TURN_CLEANUP
        +
        Indicates that the game is in the process of cleaning up after a turn
        +
      • +
      + + + +
        +
      • +

        CHOOSING_CARDS

        +
        public static final GameState CHOOSING_CARDS
        +
        Indicates that the user is in the process of choosing cards
        +
      • +
      + + + +
        +
      • +

        CHOOSING_STAY_IN_POWER_DOWN

        +
        public static final GameState CHOOSING_STAY_IN_POWER_DOWN
        +
        Indicates that the user is in the process of choosing whether to stay in power down
        +
      • +
      + + + +
        +
      • +

        GAME_IS_WON

        +
        public static final GameState GAME_IS_WON
        +
        Indicates that the game is won by a player
        +
      • +
      + + + +
        +
      • +

        EXITED

        +
        public static final GameState EXITED
        +
        Indicates that the game is no longer running
        +
      • +
      + + + +
        +
      • +

        SKIP_POWER_DOWN_SCREEN

        +
        public static final GameState SKIP_POWER_DOWN_SCREEN
        +
        Indicates that the game is in the process of skipping the power down screen
        +
      • +
      + + + +
        +
      • +

        SKIP_STAY_IN_POWER_DOWN

        +
        public static final GameState SKIP_STAY_IN_POWER_DOWN
        +
        Indicates that the game is in the process of skipping the stay in power down screen
        +
      • +
      + + + +
        +
      • +

        WAITING_FOR_OTHER_PLAYERS_PROGRAMS

        +
        public static final GameState WAITING_FOR_OTHER_PLAYERS_PROGRAMS
        +
        Indicates that the game is waiting for other players to finish programming
        +
      • +
      + + + +
        +
      • +

        WAITING_FOR_CARDS_FROM_SERVER

        +
        public static final GameState WAITING_FOR_CARDS_FROM_SERVER
        +
        Indicates that the game is waiting on a new deck from the server
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static GameState[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (GameState c : GameState.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static GameState valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html new file mode 100644 index 0000000..65fc4a0 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html @@ -0,0 +1,493 @@ + + + + + +ParticleType + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum ParticleType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<ParticleType>
    +
    +
    +
    +
    public enum ParticleType
    +extends java.lang.Enum<ParticleType>
    +
    This enum represents all possible particle types
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        LASER_BEAM_SINGLE

        +
        public static final ParticleType LASER_BEAM_SINGLE
        +
        The beam emitting from a single laser
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_DOUBLE

        +
        public static final ParticleType LASER_BEAM_DOUBLE
        +
        The beam emitting from a double laser
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_TRIPLE

        +
        public static final ParticleType LASER_BEAM_TRIPLE
        +
        The beam emitting if a single laser shoots in the opposite direction of a double laser
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_SINGLE_CROSS

        +
        public static final ParticleType LASER_BEAM_SINGLE_CROSS
        +
        The beam emitted where two single beams cross
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_DOUBLE_CROSS

        +
        public static final ParticleType LASER_BEAM_DOUBLE_CROSS
        +
        The beam emitted where two double beams cross
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_TRIPLE_CROSS

        +
        public static final ParticleType LASER_BEAM_TRIPLE_CROSS
        +
        The beam emitted where two triple beams cross
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_SINGLE_DOUBLE_CROSS

        +
        public static final ParticleType LASER_BEAM_SINGLE_DOUBLE_CROSS
        +
        The beam emitted where a single beam crosses a double beam
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_SINGLE_TRIPLE_CROSS

        +
        public static final ParticleType LASER_BEAM_SINGLE_TRIPLE_CROSS
        +
        The beam emitted where a single beam crosses a triple beam
        +
      • +
      + + + +
        +
      • +

        LASER_BEAM_DOUBLE_TRIPLE_CROSS

        +
        public static final ParticleType LASER_BEAM_DOUBLE_TRIPLE_CROSS
        +
        The beam emitted where a double beam crosses a triple beam
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static ParticleType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (ParticleType c : ParticleType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static ParticleType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getParticleTypeFromID

        +
        public static ParticleType getParticleTypeFromID(int particleTypeID)
        +
        Gets a particle type value from its numerical representation
        +
        +
        Parameters:
        +
        particleTypeID - The numerical representation of a particle type
        +
        Returns:
        +
        The enum value representing the particle type, or null if the id is invalid
        +
        +
      • +
      + + + +
        +
      • +

        getParticleTypeID

        +
        public int getParticleTypeID()
        +
        Gets the numerical id used for alternate identification of a tile type
        +
        +
        Returns:
        +
        The numerical id of the tile type
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html new file mode 100644 index 0000000..5c87a4e --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html @@ -0,0 +1,341 @@ + + + + + +Position + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Class Position

+
+
+ +
+
    +
  • +
    +
    +
    public class Position
    +extends java.lang.Object
    +
    This class represent a position on the board
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Position(int xCoordinate, + int yCoordinate) +
      Initializes the position
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object obj) 
      intgetXCoordinate() +
      Gets the x coordinate of the position
      +
      intgetYCoordinate() +
      Gets the y coordinate of the position
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Position

        +
        public Position(int xCoordinate,
        +                int yCoordinate)
        +
        Initializes the position
        +
        +
        Parameters:
        +
        xCoordinate - The x coordinate of the position
        +
        yCoordinate - The y coordinate of the position
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getXCoordinate

        +
        public int getXCoordinate()
        +
        Gets the x coordinate of the position
        +
        +
        Returns:
        +
        The x coordinate of the position
        +
        +
      • +
      + + + +
        +
      • +

        getYCoordinate

        +
        public int getYCoordinate()
        +
        Gets the y coordinate of the position
        +
        +
        Returns:
        +
        The y coordinate of the position
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html new file mode 100644 index 0000000..5302f46 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html @@ -0,0 +1,478 @@ + + + + + +RobotID + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum RobotID

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<RobotID>
    +
    +
    +
    +
    public enum RobotID
    +extends java.lang.Enum<RobotID>
    +
    This class represents an id for marking specific robots
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      ROBOT_1 +
      The id of the first robot (white)
      +
      ROBOT_2 +
      The id of the second robot (pink)
      +
      ROBOT_3 +
      The id of the third robot (light green)
      +
      ROBOT_4 +
      The id of the fourth robot (blue)
      +
      ROBOT_5 +
      The id of the fifth robot (yellow)
      +
      ROBOT_6 +
      The id of the sixth robot (dark green)
      +
      ROBOT_7 +
      The id of the seventh robot (orange)
      +
      ROBOT_8 +
      The id of the eight robot (red)
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static RobotIDgetRobotIDFromID(int robotID) +
      Gets a robot ID value from its numerical representation
      +
      intgetRobotIDID() +
      Gets the numerical id used for identification of a robot id
      +
      static RobotIDvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static RobotID[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        ROBOT_1

        +
        public static final RobotID ROBOT_1
        +
        The id of the first robot (white)
        +
      • +
      + + + +
        +
      • +

        ROBOT_2

        +
        public static final RobotID ROBOT_2
        +
        The id of the second robot (pink)
        +
      • +
      + + + +
        +
      • +

        ROBOT_3

        +
        public static final RobotID ROBOT_3
        +
        The id of the third robot (light green)
        +
      • +
      + + + +
        +
      • +

        ROBOT_4

        +
        public static final RobotID ROBOT_4
        +
        The id of the fourth robot (blue)
        +
      • +
      + + + +
        +
      • +

        ROBOT_5

        +
        public static final RobotID ROBOT_5
        +
        The id of the fifth robot (yellow)
        +
      • +
      + + + +
        +
      • +

        ROBOT_6

        +
        public static final RobotID ROBOT_6
        +
        The id of the sixth robot (dark green)
        +
      • +
      + + + +
        +
      • +

        ROBOT_7

        +
        public static final RobotID ROBOT_7
        +
        The id of the seventh robot (orange)
        +
      • +
      + + + +
        +
      • +

        ROBOT_8

        +
        public static final RobotID ROBOT_8
        +
        The id of the eight robot (red)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static RobotID[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (RobotID c : RobotID.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static RobotID valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getRobotIDFromID

        +
        public static RobotID getRobotIDFromID(int robotID)
        +
        Gets a robot ID value from its numerical representation
        +
        +
        Parameters:
        +
        robotID - The numerical representation of a robot id
        +
        Returns:
        +
        The enum value representing the robot ID, or null if the id is invalid
        +
        +
      • +
      + + + +
        +
      • +

        getRobotIDID

        +
        public int getRobotIDID()
        +
        Gets the numerical id used for identification of a robot id
        +
        +
        Returns:
        +
        The numerical id of the robot id
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html new file mode 100644 index 0000000..00b7379 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html @@ -0,0 +1,883 @@ + + + + + +TileType + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum TileType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<TileType>
    +
    +
    +
    +
    public enum TileType
    +extends java.lang.Enum<TileType>
    +
    This enum represents all possible tile types
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static TileTypegetTileTypeFromID(int tileTypeID) +
      Gets a tile type value from its numerical representation
      +
      intgetTileTypeID() +
      Gets the numerical id used for alternate identification of a tile type
      +
      static TileTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static TileType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        TILE

        +
        public static final TileType TILE
        +
        The generic tile without functionality
        +
      • +
      + + + +
        +
      • +

        HOLE

        +
        public static final TileType HOLE
        +
        A hole which robots might fall into
        +
      • +
      + + + +
        +
      • +

        COGWHEEL_RIGHT

        +
        public static final TileType COGWHEEL_RIGHT
        +
        A cogwheel rotating to the right
        +
      • +
      + + + +
        +
      • +

        COGWHEEL_LEFT

        +
        public static final TileType COGWHEEL_LEFT
        +
        A cogwheel rotating to the left
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_SLOW

        +
        public static final TileType CONVEYOR_BELT_SLOW
        +
        A slow and straight conveyor belt
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_SLOW_RIGHT

        +
        public static final TileType CONVEYOR_BELT_SLOW_RIGHT
        +
        A slow conveyor belt with a rightward bend
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_SLOW_LEFT

        +
        public static final TileType CONVEYOR_BELT_SLOW_LEFT
        +
        A slow conveyor belt with a leftward bend
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_SLOW_SIDE_ENTRANCES

        +
        public static final TileType CONVEYOR_BELT_SLOW_SIDE_ENTRANCES
        +
        A slow conveyor belt with entrances both to the left and to the right
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_LEFT

        +
        public static final TileType CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_LEFT
        +
        A slow conveyor belt with one entrance on the left and one from behind
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_RIGHT

        +
        public static final TileType CONVEYOR_BELT_SLOW_SIDE_ENTRANCE_RIGHT
        +
        A slow conveyor belt with one entrance on the right and one from behind
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_FAST

        +
        public static final TileType CONVEYOR_BELT_FAST
        +
        A fast and straight conveyor belt
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_FAST_RIGHT

        +
        public static final TileType CONVEYOR_BELT_FAST_RIGHT
        +
        A fast conveyor belt with a rightward bend
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_FAST_LEFT

        +
        public static final TileType CONVEYOR_BELT_FAST_LEFT
        +
        A fast conveyor belt with a leftward bend
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_FAST_SIDE_ENTRANCES

        +
        public static final TileType CONVEYOR_BELT_FAST_SIDE_ENTRANCES
        +
        A fast conveyor belt with one entrance on the left and one from behind
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_FAST_SIDE_ENTRANCE_LEFT

        +
        public static final TileType CONVEYOR_BELT_FAST_SIDE_ENTRANCE_LEFT
        +
        A fast conveyor belt with one entrance on the left and one from behind
        +
      • +
      + + + +
        +
      • +

        CONVEYOR_BELT_FAST_SIDE_ENTRANCE_RIGHT

        +
        public static final TileType CONVEYOR_BELT_FAST_SIDE_ENTRANCE_RIGHT
        +
        A fast conveyor belt with one entrance on the right and one from behind
        +
      • +
      + + + +
        +
      • +

        FLAG_1

        +
        public static final TileType FLAG_1
        +
        The first flag a robot has to visit to win the game
        +
      • +
      + + + +
        +
      • +

        FLAG_2

        +
        public static final TileType FLAG_2
        +
        The second flag a robot has to visit to win the game
        +
      • +
      + + + +
        +
      • +

        FLAG_3

        +
        public static final TileType FLAG_3
        +
        The third flag a robot has to visit to win the game
        +
      • +
      + + + +
        +
      • +

        FLAG_4

        +
        public static final TileType FLAG_4
        +
        The fourth flag a robot has to visit to win the game
        +
      • +
      + + + +
        +
      • +

        WRENCH

        +
        public static final TileType WRENCH
        +
        A wrench which repairs a robot
        +
      • +
      + + + +
        +
      • +

        WRENCH_AND_HAMMER

        +
        public static final TileType WRENCH_AND_HAMMER
        +
        A wrench and hammer which repairs a robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_1

        +
        public static final TileType ROBOT_SPAWN_1
        +
        The spawn location belonging to the first robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_2

        +
        public static final TileType ROBOT_SPAWN_2
        +
        The spawn location belonging to the second robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_3

        +
        public static final TileType ROBOT_SPAWN_3
        +
        The spawn location belonging to the third robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_4

        +
        public static final TileType ROBOT_SPAWN_4
        +
        The spawn location belonging to the fourth robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_5

        +
        public static final TileType ROBOT_SPAWN_5
        +
        The spawn location belonging to the fifth robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_6

        +
        public static final TileType ROBOT_SPAWN_6
        +
        The spawn location belonging to the sixth robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_7

        +
        public static final TileType ROBOT_SPAWN_7
        +
        The spawn location belonging to the seventh robot
        +
      • +
      + + + +
        +
      • +

        ROBOT_SPAWN_8

        +
        public static final TileType ROBOT_SPAWN_8
        +
        The spawn location belonging to the eight robot
        +
      • +
      + + + +
        +
      • +

        PIT_EMPTY

        +
        public static final TileType PIT_EMPTY
        +
        A pit without edges a robot may fall into
        +
      • +
      + + + +
        +
      • +

        PIT_FULL

        +
        public static final TileType PIT_FULL
        +
        A pit with all edges a robot may fall into
        +
      • +
      + + + +
        +
      • +

        PIT_NORMAL

        +
        public static final TileType PIT_NORMAL
        +
        A pit with one edge a robot may fall into
        +
      • +
      + + + +
        +
      • +

        PIT_CORNER

        +
        public static final TileType PIT_CORNER
        +
        A pit with two connected edges the robot may fall into
        +
      • +
      + + + +
        +
      • +

        PIT_U

        +
        public static final TileType PIT_U
        +
        A pit with three edges the robot may fall into
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static TileType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (TileType c : TileType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static TileType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getTileTypeFromID

        +
        public static TileType getTileTypeFromID(int tileTypeID)
        +
        Gets a tile type value from its numerical representation
        +
        +
        Parameters:
        +
        tileTypeID - The numerical representation of a tile type
        +
        Returns:
        +
        The enum value representing the tile type, or null if the id is invalid
        +
        +
      • +
      + + + +
        +
      • +

        getTileTypeID

        +
        public int getTileTypeID()
        +
        Gets the numerical id used for alternate identification of a tile type
        +
        +
        Returns:
        +
        The numerical id of the tile type
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html new file mode 100644 index 0000000..9dd0f59 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html @@ -0,0 +1,463 @@ + + + + + +WallType + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.objects.properties
+

Enum WallType

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<WallType>
    +
    +
    +
    +
    public enum WallType
    +extends java.lang.Enum<WallType>
    +
    This enum represents all possible wall types
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static WallTypegetWallTypeFromID(int wallTypeID) +
      Gets a wall type value from its numerical representation
      +
      intgetWallTypeID() +
      Gets the numerical id used for alternate identification of a wall type
      +
      static WallTypevalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static WallType[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Detail

      + + + +
        +
      • +

        WALL_NORMAL

        +
        public static final WallType WALL_NORMAL
        +
        A normal wall
        +
      • +
      + + + +
        +
      • +

        WALL_CORNER

        +
        public static final WallType WALL_CORNER
        +
        A wall which consists of two connected walls
        +
      • +
      + + + +
        +
      • +

        WALL_LASER_SINGLE

        +
        public static final WallType WALL_LASER_SINGLE
        +
        A wall with a laser
        +
      • +
      + + + +
        +
      • +

        WALL_LASER_DOUBLE

        +
        public static final WallType WALL_LASER_DOUBLE
        +
        A wall with two lasers
        +
      • +
      + + + +
        +
      • +

        WALL_LASER_TRIPLE

        +
        public static final WallType WALL_LASER_TRIPLE
        +
        A wall with three lasers
        +
      • +
      + + + +
        +
      • +

        WALL_PUSHER_ODD

        +
        public static final WallType WALL_PUSHER_ODD
        +
        A pusher which pushes on every odd phase
        +
      • +
      + + + +
        +
      • +

        WALL_PUSHER_EVEN

        +
        public static final WallType WALL_PUSHER_EVEN
        +
        A pusher which pushes on every even phase
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static WallType[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (WallType c : WallType.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static WallType valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      + + + +
        +
      • +

        getWallTypeFromID

        +
        public static WallType getWallTypeFromID(int wallTypeID)
        +
        Gets a wall type value from its numerical representation
        +
        +
        Parameters:
        +
        wallTypeID - The numerical representation of a wall type
        +
        Returns:
        +
        The enum value representing the wall type, or null if the id is invalid
        +
        +
      • +
      + + + +
        +
      • +

        getWallTypeID

        +
        public int getWallTypeID()
        +
        Gets the numerical id used for alternate identification of a wall type
        +
        +
        Returns:
        +
        The numerical id of the wall type
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html new file mode 100644 index 0000000..aa33564 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html @@ -0,0 +1,30 @@ + + + + + +inf112.fiasko.roborally.objects.properties + + + + + +

inf112.fiasko.roborally.objects.properties

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html new file mode 100644 index 0000000..adbff39 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html @@ -0,0 +1,195 @@ + + + + + +inf112.fiasko.roborally.objects.properties + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.objects.properties

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-tree.html new file mode 100644 index 0000000..4a69fbc --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-tree.html @@ -0,0 +1,153 @@ + + + + + +inf112.fiasko.roborally.objects.properties Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.objects.properties

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/package-frame.html new file mode 100644 index 0000000..f057ac7 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/package-frame.html @@ -0,0 +1,20 @@ + + + + + +inf112.fiasko.roborally + + + + + +

inf112.fiasko.roborally

+
+

Classes

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/package-summary.html new file mode 100644 index 0000000..997d6da --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/package-summary.html @@ -0,0 +1,142 @@ + + + + + +inf112.fiasko.roborally + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/package-tree.html new file mode 100644 index 0000000..ce3ca9e --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/package-tree.html @@ -0,0 +1,135 @@ + + + + + +inf112.fiasko.roborally Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html b/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html new file mode 100644 index 0000000..c231bad --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html @@ -0,0 +1,331 @@ + + + + + +RoboRallyUI + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui
+

Interface RoboRallyUI

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    RoboRallyWrapper
    +
    +
    +
    +
    public interface RoboRallyUI
    +
    An interface describing necessary methods for a user interface
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      RoboRallyGamegetGame() +
      Gets the robo rally game being rendered by the UI
      +
      RoboRallyServergetServer() +
      Gets the servers used for receiving objects from clients
      +
      booleanisTesting() +
      Gets whether the game should be started in test mode
      +
      voidquit(java.lang.String message) +
      Quits the game in whatever way is appropriate
      +
      voidsetGame(RoboRallyGame game) +
      Sets the robo rally game being rendered by the UI
      +
      voidsetShouldHurry(boolean shouldHurry) +
      Sets whether the client should hurry with whatever it's doing
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getGame

        +
        RoboRallyGame getGame()
        +
        Gets the robo rally game being rendered by the UI
        +
        +
        Returns:
        +
        The game used by the UI
        +
        +
      • +
      + + + +
        +
      • +

        setGame

        +
        void setGame(RoboRallyGame game)
        +
        Sets the robo rally game being rendered by the UI
        +
        +
        Parameters:
        +
        game - The new robo rally game being rendered
        +
        +
      • +
      + + + +
        +
      • +

        quit

        +
        void quit(java.lang.String message)
        +
        Quits the game in whatever way is appropriate
        +
        +
        Parameters:
        +
        message - The message describing why the game quit
        +
        +
      • +
      + + + +
        +
      • +

        getServer

        +
        RoboRallyServer getServer()
        +
        Gets the servers used for receiving objects from clients
        +
        +
        Returns:
        +
        The server of the game
        +
        +
      • +
      + + + +
        +
      • +

        setShouldHurry

        +
        void setShouldHurry(boolean shouldHurry)
        +
        Sets whether the client should hurry with whatever it's doing
        +
        +
        Parameters:
        +
        shouldHurry - True if the user should hurry
        +
        +
      • +
      + + + +
        +
      • +

        isTesting

        +
        boolean isTesting()
        +
        Gets whether the game should be started in test mode
        +
        +
        Returns:
        +
        Whether the game should be started in test mode
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyWrapper.html b/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyWrapper.html new file mode 100644 index 0000000..2e2b058 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyWrapper.html @@ -0,0 +1,610 @@ + + + + + +RoboRallyWrapper + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui
+

Class RoboRallyWrapper

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.ApplicationListener, RoboRallyUI
    +
    +
    +
    +
    public class RoboRallyWrapper
    +extends com.badlogic.gdx.Game
    +implements RoboRallyUI
    +
    This class acts as a wrapper around the different screens of the game
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      RoboRallyWrapper() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidcreate() 
      voiddispose() 
      RoboRallyGamegetGame() +
      Gets the robo rally game being rendered by the UI
      +
      RoboRallyServergetServer() +
      Gets the servers used for receiving objects from clients
      +
      booleanisTesting() +
      Gets whether the game should be started in test mode
      +
      voidquit() +
      Quits the game
      +
      voidquit(java.lang.String string) +
      Quits the game after logging the input as an error
      +
      voidsetGame(RoboRallyGame game) +
      Sets the robo rally game being rendered by the UI
      +
      voidsetShouldHurry(boolean shouldHurry) +
      Sets whether the client should hurry with whatever it's doing
      +
      +
        +
      • + + +

        Methods inherited from class com.badlogic.gdx.Game

        +getScreen, pause, render, resize, resume, setScreen
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        networkPort

        +
        public int networkPort
        +
      • +
      + + + +
        +
      • +

        batch

        +
        public com.badlogic.gdx.graphics.g2d.SpriteBatch batch
        +
      • +
      + + + +
        +
      • +

        font

        +
        public com.badlogic.gdx.graphics.g2d.BitmapFont font
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        shouldHurry

        +
        public boolean shouldHurry
        +
      • +
      + + + +
        +
      • +

        isTesting

        +
        public boolean isTesting
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        RoboRallyWrapper

        +
        public RoboRallyWrapper()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        create

        +
        public void create()
        +
        +
        Specified by:
        +
        create in interface com.badlogic.gdx.ApplicationListener
        +
        +
      • +
      + + + +
        +
      • +

        dispose

        +
        public void dispose()
        +
        +
        Specified by:
        +
        dispose in interface com.badlogic.gdx.ApplicationListener
        +
        Overrides:
        +
        dispose in class com.badlogic.gdx.Game
        +
        +
      • +
      + + + +
        +
      • +

        getGame

        +
        public RoboRallyGame getGame()
        +
        Description copied from interface: RoboRallyUI
        +
        Gets the robo rally game being rendered by the UI
        +
        +
        Specified by:
        +
        getGame in interface RoboRallyUI
        +
        Returns:
        +
        The game used by the UI
        +
        +
      • +
      + + + +
        +
      • +

        setGame

        +
        public void setGame(RoboRallyGame game)
        +
        Description copied from interface: RoboRallyUI
        +
        Sets the robo rally game being rendered by the UI
        +
        +
        Specified by:
        +
        setGame in interface RoboRallyUI
        +
        Parameters:
        +
        game - The new robo rally game being rendered
        +
        +
      • +
      + + + +
        +
      • +

        quit

        +
        public void quit(java.lang.String string)
        +
        Quits the game after logging the input as an error
        +
        +
        Specified by:
        +
        quit in interface RoboRallyUI
        +
        Parameters:
        +
        string - The error causing the game to quit
        +
        +
      • +
      + + + +
        +
      • +

        getServer

        +
        public RoboRallyServer getServer()
        +
        Description copied from interface: RoboRallyUI
        +
        Gets the servers used for receiving objects from clients
        +
        +
        Specified by:
        +
        getServer in interface RoboRallyUI
        +
        Returns:
        +
        The server of the game
        +
        +
      • +
      + + + +
        +
      • +

        setShouldHurry

        +
        public void setShouldHurry(boolean shouldHurry)
        +
        Description copied from interface: RoboRallyUI
        +
        Sets whether the client should hurry with whatever it's doing
        +
        +
        Specified by:
        +
        setShouldHurry in interface RoboRallyUI
        +
        Parameters:
        +
        shouldHurry - True if the user should hurry
        +
        +
      • +
      + + + +
        +
      • +

        quit

        +
        public void quit()
        +
        Quits the game
        +
      • +
      + + + +
        +
      • +

        isTesting

        +
        public boolean isTesting()
        +
        Description copied from interface: RoboRallyUI
        +
        Gets whether the game should be started in test mode
        +
        +
        Specified by:
        +
        isTesting in interface RoboRallyUI
        +
        Returns:
        +
        Whether the game should be started in test mode
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/ScreenManager.html b/docs/javadoc/inf112/fiasko/roborally/ui/ScreenManager.html new file mode 100644 index 0000000..fe78725 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/ScreenManager.html @@ -0,0 +1,477 @@ + + + + + +ScreenManager + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui
+

Class ScreenManager

+
+
+ +
+
    +
  • +
    +
    +
    public class ScreenManager
    +extends java.lang.Object
    +
    Keeps track of screen instances
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ScreenManager

        +
        public ScreenManager()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNewCardChoiceScreen

        +
        public CardChoiceScreen getNewCardChoiceScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets a new instance of the card choice screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A new card choice screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getCardChoiceScreen

        +
        public CardChoiceScreen getCardChoiceScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the card choice screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A card choice screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getWinnerScreen

        +
        public WinnerScreen getWinnerScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the winner screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A winner screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getPowerDownScreen

        +
        public PowerDownScreen getPowerDownScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the power down screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A power down screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getLobbyScreen

        +
        public LobbyScreen getLobbyScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the lobby screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A lobby screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getIPAddressScreen

        +
        public IPAddressScreen getIPAddressScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the ip address screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        An ip address screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getUsernameScreen

        +
        public UsernameScreen getUsernameScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the username screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A username screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getStartMenuScreen

        +
        public StartMenuScreen getStartMenuScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the start menu screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A start menu screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getLoadingScreen

        +
        public LoadingScreen getLoadingScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the loading screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A loading screen instance
        +
        +
      • +
      + + + +
        +
      • +

        getBoardActiveScreen

        +
        public BoardActiveScreen getBoardActiveScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Gets an instance of the board active screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally launcher instance to use
        +
        Returns:
        +
        A board active screen instance
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/SimpleButton.html b/docs/javadoc/inf112/fiasko/roborally/ui/SimpleButton.html new file mode 100644 index 0000000..3914582 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/SimpleButton.html @@ -0,0 +1,287 @@ + + + + + +SimpleButton + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui
+

Class SimpleButton

+
+
+ +
+
    +
  • +
    +
    +
    public class SimpleButton
    +extends java.lang.Object
    +
    This class generates a simple text button using a default skin
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      SimpleButton(java.lang.String text, + com.badlogic.gdx.graphics.g2d.BitmapFont font) +
      Instantiates a new simple button
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      com.badlogic.gdx.scenes.scene2d.ui.TextButtongetButton() +
      Gets the button generated
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SimpleButton

        +
        public SimpleButton(java.lang.String text,
        +                    com.badlogic.gdx.graphics.g2d.BitmapFont font)
        +
        Instantiates a new simple button
        +
        +
        Parameters:
        +
        text - The text to display on the button
        +
        font - The font to use to draw button text
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getButton

        +
        public com.badlogic.gdx.scenes.scene2d.ui.TextButton getButton()
        +
        Gets the button generated
        +
        +
        Returns:
        +
        A button
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/ui/package-frame.html new file mode 100644 index 0000000..3cf258c --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/package-frame.html @@ -0,0 +1,26 @@ + + + + + +inf112.fiasko.roborally.ui + + + + + +

inf112.fiasko.roborally.ui

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/ui/package-summary.html new file mode 100644 index 0000000..f32a59c --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/package-summary.html @@ -0,0 +1,171 @@ + + + + + +inf112.fiasko.roborally.ui + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.ui

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/ui/package-tree.html new file mode 100644 index 0000000..9ee0ceb --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/package-tree.html @@ -0,0 +1,145 @@ + + + + + +inf112.fiasko.roborally.ui Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.ui

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/AbstractScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/AbstractScreen.html new file mode 100644 index 0000000..6d99f14 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/AbstractScreen.html @@ -0,0 +1,496 @@ + + + + + +AbstractScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class AbstractScreen

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected intapplicationHeight 
      protected intapplicationWidth 
      protected com.badlogic.gdx.graphics.OrthographicCameracamera 
      protected com.badlogic.gdx.InputMultiplexerinputMultiplexer 
      protected com.badlogic.gdx.scenes.scene2d.Stagestage 
      protected com.badlogic.gdx.utils.viewport.Viewportviewport 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AbstractScreen() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voiddispose() 
      voidhide() 
      voidpause() 
      voidrender(float delta) 
      voidresize(int width, + int height) 
      voidresume() 
      voidshow() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + + + + + + + + + +
        +
      • +

        camera

        +
        protected final com.badlogic.gdx.graphics.OrthographicCamera camera
        +
      • +
      + + + +
        +
      • +

        stage

        +
        protected final com.badlogic.gdx.scenes.scene2d.Stage stage
        +
      • +
      + + + +
        +
      • +

        inputMultiplexer

        +
        protected final com.badlogic.gdx.InputMultiplexer inputMultiplexer
        +
      • +
      + + + +
        +
      • +

        viewport

        +
        protected com.badlogic.gdx.utils.viewport.Viewport viewport
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractScreen

        +
        public AbstractScreen()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        show

        +
        public void show()
        +
        +
        Specified by:
        +
        show in interface com.badlogic.gdx.Screen
        +
        +
      • +
      + + + +
        +
      • +

        pause

        +
        public void pause()
        +
        +
        Specified by:
        +
        pause in interface com.badlogic.gdx.Screen
        +
        +
      • +
      + + + +
        +
      • +

        resume

        +
        public void resume()
        +
        +
        Specified by:
        +
        resume in interface com.badlogic.gdx.Screen
        +
        +
      • +
      + + + +
        +
      • +

        hide

        +
        public void hide()
        +
        +
        Specified by:
        +
        hide in interface com.badlogic.gdx.Screen
        +
        +
      • +
      + + + +
        +
      • +

        dispose

        +
        public void dispose()
        +
        +
        Specified by:
        +
        dispose in interface com.badlogic.gdx.Screen
        +
        +
      • +
      + + + +
        +
      • +

        resize

        +
        public void resize(int width,
        +                   int height)
        +
        +
        Specified by:
        +
        resize in interface com.badlogic.gdx.Screen
        +
        +
      • +
      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/BoardActiveScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/BoardActiveScreen.html new file mode 100644 index 0000000..322c4ee --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/BoardActiveScreen.html @@ -0,0 +1,494 @@ + + + + + +BoardActiveScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class BoardActiveScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.InputProcessor, com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class BoardActiveScreen
    +extends InteractiveScreen
    +
    This screen shows the game board in real time
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BoardActiveScreen

        +
        public BoardActiveScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new board active screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        show

        +
        public void show()
        +
        +
        Specified by:
        +
        show in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        show in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      + + + +
        +
      • +

        dispose

        +
        public void dispose()
        +
        +
        Specified by:
        +
        dispose in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        dispose in class AbstractScreen
        +
        +
      • +
      + + + +
        +
      • +

        keyUp

        +
        public boolean keyUp(int keyCode)
        +
        +
        Specified by:
        +
        keyUp in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        keyUp in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        keyTyped

        +
        public boolean keyTyped(char character)
        +
        +
        Specified by:
        +
        keyTyped in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        keyTyped in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        touchDown

        +
        public boolean touchDown(int screenX,
        +                         int screenY,
        +                         int pointer,
        +                         int button)
        +
        +
        Specified by:
        +
        touchDown in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        touchDown in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        touchUp

        +
        public boolean touchUp(int screenX,
        +                       int screenY,
        +                       int pointer,
        +                       int button)
        +
        +
        Specified by:
        +
        touchUp in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        touchUp in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        touchDragged

        +
        public boolean touchDragged(int screenX,
        +                            int screenY,
        +                            int pointer)
        +
        +
        Specified by:
        +
        touchDragged in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        touchDragged in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        scrolled

        +
        public boolean scrolled(int amount)
        +
        +
        Specified by:
        +
        scrolled in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        scrolled in class InteractiveScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/CardChoiceScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/CardChoiceScreen.html new file mode 100644 index 0000000..f6feef2 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/CardChoiceScreen.html @@ -0,0 +1,370 @@ + + + + + +CardChoiceScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class CardChoiceScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.InputProcessor, com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class CardChoiceScreen
    +extends InteractiveScreen
    +
    This screen is used to let the user choose their program
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        CardChoiceScreen

        +
        public CardChoiceScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new card choice screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        render

        +
        public void render(float v)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      + + + +
        +
      • +

        keyUp

        +
        public boolean keyUp(int keyCode)
        +
        +
        Specified by:
        +
        keyUp in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        keyUp in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        touchUp

        +
        public boolean touchUp(int screenX,
        +                       int screenY,
        +                       int pointer,
        +                       int button)
        +
        +
        Specified by:
        +
        touchUp in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        touchUp in class InteractiveScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/CardRectangle.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/CardRectangle.html new file mode 100644 index 0000000..c87f1a8 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/CardRectangle.html @@ -0,0 +1,315 @@ + + + + + +CardRectangle + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class CardRectangle

+
+
+ +
+
    +
  • +
    +
    +
    public class CardRectangle
    +extends java.lang.Object
    +
    A helper class for keeping track of card information and a rectangle
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected ProgrammingCardcard 
      protected com.badlogic.gdx.math.Rectanglerectangle 
      protected booleanselectable 
      protected booleanselected 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        rectangle

        +
        protected final com.badlogic.gdx.math.Rectangle rectangle
        +
      • +
      + + + + + + + +
        +
      • +

        selected

        +
        protected boolean selected
        +
      • +
      + + + +
        +
      • +

        selectable

        +
        protected boolean selectable
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/IPAddressScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/IPAddressScreen.html new file mode 100644 index 0000000..bfc323d --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/IPAddressScreen.html @@ -0,0 +1,314 @@ + + + + + +IPAddressScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class IPAddressScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class IPAddressScreen
    +extends AbstractScreen
    +
    This screen allows the user to enter the ip address to connect to
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        IPAddressScreen

        +
        public IPAddressScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new ip address screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/InteractiveScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/InteractiveScreen.html new file mode 100644 index 0000000..fe22eef --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/InteractiveScreen.html @@ -0,0 +1,466 @@ + + + + + +InteractiveScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class InteractiveScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.InputProcessor, com.badlogic.gdx.Screen
    +
    +
    +
    Direct Known Subclasses:
    +
    BoardActiveScreen, CardChoiceScreen, LobbyScreen
    +
    +
    +
    +
    public abstract class InteractiveScreen
    +extends AbstractScreen
    +implements com.badlogic.gdx.InputProcessor
    +
    This class overrides all InputProcessor methods to make cleaner abstract screens with input processors
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InteractiveScreen

        +
        public InteractiveScreen()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        show

        +
        public void show()
        +
        +
        Specified by:
        +
        show in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        show in class AbstractScreen
        +
        +
      • +
      + + + +
        +
      • +

        keyDown

        +
        public boolean keyDown(int i)
        +
        +
        Specified by:
        +
        keyDown in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        keyUp

        +
        public boolean keyUp(int i)
        +
        +
        Specified by:
        +
        keyUp in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        keyTyped

        +
        public boolean keyTyped(char c)
        +
        +
        Specified by:
        +
        keyTyped in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        touchDown

        +
        public boolean touchDown(int i,
        +                         int i1,
        +                         int i2,
        +                         int i3)
        +
        +
        Specified by:
        +
        touchDown in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        touchUp

        +
        public boolean touchUp(int i,
        +                       int i1,
        +                       int i2,
        +                       int i3)
        +
        +
        Specified by:
        +
        touchUp in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        touchDragged

        +
        public boolean touchDragged(int i,
        +                            int i1,
        +                            int i2)
        +
        +
        Specified by:
        +
        touchDragged in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        mouseMoved

        +
        public boolean mouseMoved(int i,
        +                          int i1)
        +
        +
        Specified by:
        +
        mouseMoved in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      + + + +
        +
      • +

        scrolled

        +
        public boolean scrolled(int i)
        +
        +
        Specified by:
        +
        scrolled in interface com.badlogic.gdx.InputProcessor
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/LoadingScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/LoadingScreen.html new file mode 100644 index 0000000..229483a --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/LoadingScreen.html @@ -0,0 +1,314 @@ + + + + + +LoadingScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class LoadingScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class LoadingScreen
    +extends AbstractScreen
    +
    This screen is used to wait for something
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LoadingScreen

        +
        public LoadingScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new loading screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/LobbyScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/LobbyScreen.html new file mode 100644 index 0000000..d5b6a49 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/LobbyScreen.html @@ -0,0 +1,364 @@ + + + + + +LobbyScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class LobbyScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.InputProcessor, com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class LobbyScreen
    +extends InteractiveScreen
    +
    This screen allows the host to wait for players to join
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LobbyScreen

        +
        public LobbyScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new lobby screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        show

        +
        public void show()
        +
        +
        Specified by:
        +
        show in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        show in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        keyUp

        +
        public boolean keyUp(int keyCode)
        +
        +
        Specified by:
        +
        keyUp in interface com.badlogic.gdx.InputProcessor
        +
        Overrides:
        +
        keyUp in class InteractiveScreen
        +
        +
      • +
      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/PowerDownScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/PowerDownScreen.html new file mode 100644 index 0000000..755b531 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/PowerDownScreen.html @@ -0,0 +1,333 @@ + + + + + +PowerDownScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class PowerDownScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class PowerDownScreen
    +extends AbstractScreen
    +
    This screen is used for asking players whether they want to power down
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PowerDownScreen

        +
        public PowerDownScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new power down screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        show

        +
        public void show()
        +
        +
        Specified by:
        +
        show in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        show in class AbstractScreen
        +
        +
      • +
      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/StartMenuScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/StartMenuScreen.html new file mode 100644 index 0000000..f7e9cfb --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/StartMenuScreen.html @@ -0,0 +1,314 @@ + + + + + +StartMenuScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class StartMenuScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class StartMenuScreen
    +extends AbstractScreen
    +
    This screen is the first screen shown to a player
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StartMenuScreen

        +
        public StartMenuScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new start menu screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/UsernameScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/UsernameScreen.html new file mode 100644 index 0000000..903b494 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/UsernameScreen.html @@ -0,0 +1,333 @@ + + + + + +UsernameScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class UsernameScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class UsernameScreen
    +extends AbstractScreen
    +
    This screen allows a user to choose their player name
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        UsernameScreen

        +
        public UsernameScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new username screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        show

        +
        public void show()
        +
        +
        Specified by:
        +
        show in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        show in class AbstractScreen
        +
        +
      • +
      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/WinnerScreen.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/WinnerScreen.html new file mode 100644 index 0000000..d54c74f --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/WinnerScreen.html @@ -0,0 +1,314 @@ + + + + + +WinnerScreen + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.ui.screens
+

Class WinnerScreen

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    com.badlogic.gdx.Screen
    +
    +
    +
    +
    public class WinnerScreen
    +extends AbstractScreen
    +
    This screen shows which player won the game
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        WinnerScreen

        +
        public WinnerScreen(RoboRallyWrapper roboRallyWrapper)
        +
        Instantiates a new winner screen
        +
        +
        Parameters:
        +
        roboRallyWrapper - The Robo Rally wrapper which is parent of this screen
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        render

        +
        public void render(float delta)
        +
        +
        Specified by:
        +
        render in interface com.badlogic.gdx.Screen
        +
        Overrides:
        +
        render in class AbstractScreen
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-frame.html new file mode 100644 index 0000000..8b1a64d --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-frame.html @@ -0,0 +1,31 @@ + + + + + +inf112.fiasko.roborally.ui.screens + + + + + +

inf112.fiasko.roborally.ui.screens

+
+

Classes

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-summary.html new file mode 100644 index 0000000..bc67cf9 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-summary.html @@ -0,0 +1,208 @@ + + + + + +inf112.fiasko.roborally.ui.screens + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.ui.screens

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-tree.html new file mode 100644 index 0000000..3362c57 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/ui/screens/package-tree.html @@ -0,0 +1,152 @@ + + + + + +inf112.fiasko.roborally.ui.screens Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.ui.screens

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/BoardLoaderUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/BoardLoaderUtil.html new file mode 100644 index 0000000..51d95ac --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/BoardLoaderUtil.html @@ -0,0 +1,282 @@ + + + + + +BoardLoaderUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class BoardLoaderUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class BoardLoaderUtil
    +extends java.lang.Object
    +
    This class helps loading boards
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static BoardloadBoard(java.lang.String boardFile, + java.util.List<Robot> robotList) +
      Loads a board described in a file
      +
      static BoardloadBoardRotated(java.lang.String boardFile, + java.util.List<Robot> robotList, + boolean clockwise) +
      Loads and rotates a board described in a file
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        loadBoardRotated

        +
        public static Board loadBoardRotated(java.lang.String boardFile,
        +                                     java.util.List<Robot> robotList,
        +                                     boolean clockwise)
        +                              throws java.io.IOException
        +
        Loads and rotates a board described in a file
        +
        +
        Parameters:
        +
        boardFile - The file containing the board description
        +
        robotList - A list of robots on the board
        +
        clockwise - Whether to rotate the board clockwise
        +
        Returns:
        +
        A board
        +
        Throws:
        +
        java.io.IOException - If the board file cannot be loaded
        +
        +
      • +
      + + + +
        +
      • +

        loadBoard

        +
        public static Board loadBoard(java.lang.String boardFile,
        +                              java.util.List<Robot> robotList)
        +                       throws java.io.IOException
        +
        Loads a board described in a file
        +
        +
        Parameters:
        +
        boardFile - The file containing the board description
        +
        robotList - A list of robots on the board
        +
        Returns:
        +
        A board
        +
        Throws:
        +
        java.io.IOException - If the board file cannot be loaded
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/DeckLoaderUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/DeckLoaderUtil.html new file mode 100644 index 0000000..718d267 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/DeckLoaderUtil.html @@ -0,0 +1,303 @@ + + + + + +DeckLoaderUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class DeckLoaderUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class DeckLoaderUtil
    +extends java.lang.Object
    +
    Helper class for loading card decks
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DeckLoaderUtil

        +
        public DeckLoaderUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        loadProgrammingCardsDeck

        +
        public static ProgrammingCardDeck loadProgrammingCardsDeck()
        +                                                    throws java.io.IOException
        +
        Returns a programming card deck containing all official programming cards
        +
        +
        Returns:
        +
        A programming card deck with programming cards
        +
        Throws:
        +
        java.io.IOException - If the programming cards file is invalid
        +
        +
      • +
      + + + +
        +
      • +

        loadProgrammingCardsTestDeck

        +
        public static ProgrammingCardDeck loadProgrammingCardsTestDeck()
        +                                                        throws java.io.IOException
        +
        Returns a programming card deck containing nine cards to use for testing
        +
        +
        Returns:
        +
        A programming card deck with nine programming cards
        +
        Throws:
        +
        java.io.IOException - If the programming cards file is invalid
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/GridUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/GridUtil.html new file mode 100644 index 0000000..dae7b55 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/GridUtil.html @@ -0,0 +1,311 @@ + + + + + +GridUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class GridUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class GridUtil
    +extends java.lang.Object
    +
    A helper class containing helper methods fro a grid
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      GridUtil() 
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GridUtil

        +
        public GridUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAllElementsFromGrid

        +
        public static <K> java.util.List<K> getAllElementsFromGrid(Grid<K> grid)
        +
        Gets all elements in a grid
        +
        +
        Type Parameters:
        +
        K - The type of the elements int the grid
        +
        Parameters:
        +
        grid - The grid to get elements from
        +
        Returns:
        +
        A list containing all the elements in the grid
        +
        +
      • +
      + + + + + +
        +
      • +

        getMatchingElements

        +
        public static <K,T extends BoardElement> java.util.List<BoardElementContainer<T>> getMatchingElements(K type,
        +                                                                                                      Grid<T> grid)
        +
        Finds all tiles/walls with a certain type
        +
        +
        Type Parameters:
        +
        K - Type of the type to look for
        +
        T - Type of the grid
        +
        Parameters:
        +
        type - The type of tile/wall to look for
        +
        grid - The grid to look through
        +
        Returns:
        +
        List of BoardElementContainers
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/IOUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/IOUtil.html new file mode 100644 index 0000000..cbda862 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/IOUtil.html @@ -0,0 +1,276 @@ + + + + + +IOUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class IOUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class IOUtil
    +extends java.lang.Object
    +
    This class helps with tasks which mix primitive classes and classes from external libraries
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.util.List<DrawableObject>getDrawableObjectsFromGame(DrawableGame game, + int tileWidth, + int tileHeight) +
      Gets a list of all elements which should be drawn from the game provided
      +
      static java.util.List<Player>playerGenerator(java.util.Map<com.esotericsoftware.kryonet.Connection,java.lang.String> playerNames, + java.util.Map<com.esotericsoftware.kryonet.Connection,RobotID> robotIDs) +
      Generates a list of players from a map of player names and a map of robot ids
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        playerGenerator

        +
        public static java.util.List<Player> playerGenerator(java.util.Map<com.esotericsoftware.kryonet.Connection,java.lang.String> playerNames,
        +                                                     java.util.Map<com.esotericsoftware.kryonet.Connection,RobotID> robotIDs)
        +
        Generates a list of players from a map of player names and a map of robot ids
        +
        +
        Parameters:
        +
        playerNames - A map between connections and player names
        +
        robotIDs - A map between connections and robot ids
        +
        Returns:
        +
        A list of players
        +
        +
      • +
      + + + +
        +
      • +

        getDrawableObjectsFromGame

        +
        public static java.util.List<DrawableObject> getDrawableObjectsFromGame(DrawableGame game,
        +                                                                        int tileWidth,
        +                                                                        int tileHeight)
        +
        Gets a list of all elements which should be drawn from the game provided
        +
        +
        Parameters:
        +
        game - A game implementing DrawableGame
        +
        tileWidth - The with of all tiles to be drawn
        +
        tileHeight - The height of all tiles to be drawn
        +
        Returns:
        +
        A list of drawable objects
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/LaserHelper.html b/docs/javadoc/inf112/fiasko/roborally/utility/LaserHelper.html new file mode 100644 index 0000000..094daf8 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/LaserHelper.html @@ -0,0 +1,304 @@ + + + + + +LaserHelper + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class LaserHelper

+
+
+ +
+
    +
  • +
    +
    +
    public final class LaserHelper
    +extends java.lang.Object
    +
    Helps with displaying laser beams
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        LaserHelper

        +
        public LaserHelper()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getParticleFromLaserType

        +
        public static ParticleType getParticleFromLaserType(WallType laserType)
        +
        Gets the correct particle type from a laser type
        +
        +
        Parameters:
        +
        laserType - The type of laser firing
        +
        Returns:
        +
        The particle representing the laser's beam
        +
        +
      • +
      + + + +
        +
      • +

        getNewLaserBeamParticle

        +
        public static Particle getNewLaserBeamParticle(Particle laserBeam,
        +                                               Particle existingBeam)
        +
        Gets the new particle to use given the laser firing and the existing beam particle
        +
        +
        Parameters:
        +
        laserBeam - The laser beam which is fired
        +
        existingBeam - The laser beam which already exists at a tile
        +
        Returns:
        +
        The particle which is a combination of the two
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/NetworkUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/NetworkUtil.html new file mode 100644 index 0000000..243caf9 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/NetworkUtil.html @@ -0,0 +1,277 @@ + + + + + +NetworkUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class NetworkUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class NetworkUtil
    +extends java.lang.Object
    +
    This class helps with networking tasks
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      NetworkUtil() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidregisterClasses(com.esotericsoftware.kryo.Kryo kryo) +
      Registers all classes which can be sent between a server and a client
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        NetworkUtil

        +
        public NetworkUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        registerClasses

        +
        public static void registerClasses(com.esotericsoftware.kryo.Kryo kryo)
        +
        Registers all classes which can be sent between a server and a client
        +
        +
        Parameters:
        +
        kryo - The kryo object to register the classes to
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/ResourceUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/ResourceUtil.html new file mode 100644 index 0000000..fbbc2f1 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/ResourceUtil.html @@ -0,0 +1,245 @@ + + + + + +ResourceUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class ResourceUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class ResourceUtil
    +extends java.lang.Object
    +
    This class helps with tasks related to resource loading
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.io.InputStreamgetResourceAsInputStream(java.lang.String resourcePath) +
      Gets an input stream for a given resource
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getResourceAsInputStream

        +
        public static java.io.InputStream getResourceAsInputStream(java.lang.String resourcePath)
        +
        Gets an input stream for a given resource
        +
        +
        Parameters:
        +
        resourcePath - The relative path from the resources folder to the resource
        +
        Returns:
        +
        An input stream
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/StringUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/StringUtil.html new file mode 100644 index 0000000..e83aff4 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/StringUtil.html @@ -0,0 +1,281 @@ + + + + + +StringUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class StringUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class StringUtil
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      StringUtil() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.lang.StringaddLeadingZeros(int number, + int zeros) +
      Adds zeros to a number until it reaches a set length and converts it to a string
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StringUtil

        +
        public StringUtil()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addLeadingZeros

        +
        public static java.lang.String addLeadingZeros(int number,
        +                                               int zeros)
        +
        Adds zeros to a number until it reaches a set length and converts it to a string
        +
        +
        Parameters:
        +
        number - The number to add zeros to
        +
        zeros - The number of characters in the output
        +
        Returns:
        +
        The number as a string with necessary leading zeros
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/TextureConverterUtil.html b/docs/javadoc/inf112/fiasko/roborally/utility/TextureConverterUtil.html new file mode 100644 index 0000000..e3d340d --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/TextureConverterUtil.html @@ -0,0 +1,513 @@ + + + + + +TextureConverterUtil + + + + + + + + +
+ + + + + + + +
+ + + +
+
inf112.fiasko.roborally.utility
+

Class TextureConverterUtil

+
+
+ +
+
    +
  • +
    +
    +
    public final class TextureConverterUtil
    +extends java.lang.Object
    +
    This class can convert an element to an appropriate texture
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static com.badlogic.gdx.graphics.g2d.TextureRegionconvertElement(Particle particle) +
      Gets the texture representing the particle
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegionconvertElement(ProgrammingCard card) +
      Gets the texture representing the programming card
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegionconvertElement(Robot robot) +
      Gets the texture representing the robot
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegionconvertElement(RobotID robotID) +
      Gets the texture representing the robot id
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegionconvertElement(Tile tile) +
      Gets the texture representing the tile
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegionconvertElement(Wall wall) +
      Gets the texture representing the tile
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegiongetDamageTokenCriticalTexture() +
      Returns the texture to use to display damage tokens
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegiongetDamageTokenTexture() +
      Returns the texture to use to display damage tokens
      +
      static java.util.List<com.badlogic.gdx.utils.Disposable>getDisposableElements() +
      Gets a list of all disposable elements which should be disposed when the software closes
      +
      static com.badlogic.gdx.graphics.g2d.TextureRegiongetLifeTexture() +
      Returns the texture to use to display lives
      +
      static booleanhasRotatedTexture(Particle particle) +
      Checks whether a particle has textures for different rotations + + For a particle without a rotated texture, the texture needs to be rotated when rendering.
      +
      static booleanhasRotatedTexture(Tile tile) +
      Checks whether a tile has textures for different rotations + + For a tile without a rotated texture, the texture needs to be rotated when rendering.
      +
      static booleanhasRotatedTexture(Wall wall) +
      Checks whether a wall has textures for different rotations + + For a wall without a rotated texture, the texture needs to be rotated when rendering.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        convertElement

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion convertElement(ProgrammingCard card)
        +
        Gets the texture representing the programming card
        +
        +
        Parameters:
        +
        card - The card to draw
        +
        Returns:
        +
        The texture to draw
        +
        +
      • +
      + + + +
        +
      • +

        getDamageTokenCriticalTexture

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion getDamageTokenCriticalTexture()
        +
        Returns the texture to use to display damage tokens
        +
        +
        Returns:
        +
        The damage token texture
        +
        +
      • +
      + + + +
        +
      • +

        getDamageTokenTexture

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion getDamageTokenTexture()
        +
        Returns the texture to use to display damage tokens
        +
        +
        Returns:
        +
        The damage token texture
        +
        +
      • +
      + + + +
        +
      • +

        getLifeTexture

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion getLifeTexture()
        +
        Returns the texture to use to display lives
        +
        +
        Returns:
        +
        The life texture
        +
        +
      • +
      + + + +
        +
      • +

        getDisposableElements

        +
        public static java.util.List<com.badlogic.gdx.utils.Disposable> getDisposableElements()
        +
        Gets a list of all disposable elements which should be disposed when the software closes
        +
        +
        Returns:
        +
        A list of disposable elements
        +
        +
      • +
      + + + +
        +
      • +

        convertElement

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion convertElement(Tile tile)
        +
        Gets the texture representing the tile
        +
        +
        Parameters:
        +
        tile - The tile to draw
        +
        Returns:
        +
        The texture to draw
        +
        +
      • +
      + + + +
        +
      • +

        convertElement

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion convertElement(Particle particle)
        +
        Gets the texture representing the particle
        +
        +
        Parameters:
        +
        particle - The particle to draw
        +
        Returns:
        +
        The texture to draw
        +
        +
      • +
      + + + +
        +
      • +

        convertElement

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion convertElement(Wall wall)
        +
        Gets the texture representing the tile
        +
        +
        Parameters:
        +
        wall - The wall to draw
        +
        Returns:
        +
        The texture to draw
        +
        +
      • +
      + + + +
        +
      • +

        convertElement

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion convertElement(Robot robot)
        +
        Gets the texture representing the robot
        +
        +
        Parameters:
        +
        robot - The robot to draw
        +
        Returns:
        +
        The texture to draw
        +
        +
      • +
      + + + +
        +
      • +

        convertElement

        +
        public static com.badlogic.gdx.graphics.g2d.TextureRegion convertElement(RobotID robotID)
        +
        Gets the texture representing the robot id
        +
        +
        Parameters:
        +
        robotID - The id of the robot to draw
        +
        Returns:
        +
        The texture to draw
        +
        +
      • +
      + + + +
        +
      • +

        hasRotatedTexture

        +
        public static boolean hasRotatedTexture(Tile tile)
        +
        Checks whether a tile has textures for different rotations + +

        For a tile without a rotated texture, the texture needs to be rotated when rendering.

        +
        +
        Parameters:
        +
        tile - The tile to check
        +
        Returns:
        +
        True if rotated versions of the texture exists. False otherwise
        +
        +
      • +
      + + + +
        +
      • +

        hasRotatedTexture

        +
        public static boolean hasRotatedTexture(Wall wall)
        +
        Checks whether a wall has textures for different rotations + +

        For a wall without a rotated texture, the texture needs to be rotated when rendering.

        +
        +
        Parameters:
        +
        wall - The wall to check
        +
        Returns:
        +
        True if rotated versions of the texture exists. False otherwise
        +
        +
      • +
      + + + +
        +
      • +

        hasRotatedTexture

        +
        public static boolean hasRotatedTexture(Particle particle)
        +
        Checks whether a particle has textures for different rotations + +

        For a particle without a rotated texture, the texture needs to be rotated when rendering.

        +
        +
        Parameters:
        +
        particle - The particle to check
        +
        Returns:
        +
        True if rotated versions of the texture exists. False otherwise
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/utility/package-frame.html new file mode 100644 index 0000000..5048994 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/package-frame.html @@ -0,0 +1,28 @@ + + + + + +inf112.fiasko.roborally.utility + + + + + +

inf112.fiasko.roborally.utility

+
+

Classes

+ +
+ + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/utility/package-summary.html new file mode 100644 index 0000000..d9c2db7 --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/package-summary.html @@ -0,0 +1,188 @@ + + + + + +inf112.fiasko.roborally.utility + + + + + + + + +
+ + + + + + + +
+ + +
+

Package inf112.fiasko.roborally.utility

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/inf112/fiasko/roborally/utility/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/utility/package-tree.html new file mode 100644 index 0000000..0c9918c --- /dev/null +++ b/docs/javadoc/inf112/fiasko/roborally/utility/package-tree.html @@ -0,0 +1,143 @@ + + + + + +inf112.fiasko.roborally.utility Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package inf112.fiasko.roborally.utility

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/overview-frame.html b/docs/javadoc/overview-frame.html new file mode 100644 index 0000000..eff5aa8 --- /dev/null +++ b/docs/javadoc/overview-frame.html @@ -0,0 +1,28 @@ + + + + + +Overview List + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/docs/javadoc/overview-summary.html b/docs/javadoc/overview-summary.html new file mode 100644 index 0000000..cdcd0ff --- /dev/null +++ b/docs/javadoc/overview-summary.html @@ -0,0 +1,161 @@ + + + + + +Overview + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
inf112.fiasko.roborally 
inf112.fiasko.roborally.networking 
inf112.fiasko.roborally.networking.containers 
inf112.fiasko.roborally.objects 
inf112.fiasko.roborally.objects.properties 
inf112.fiasko.roborally.ui 
inf112.fiasko.roborally.ui.screens 
inf112.fiasko.roborally.utility 
+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/overview-tree.html b/docs/javadoc/overview-tree.html new file mode 100644 index 0000000..947f1b3 --- /dev/null +++ b/docs/javadoc/overview-tree.html @@ -0,0 +1,234 @@ + + + + + +Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/javadoc/package-list b/docs/javadoc/package-list new file mode 100644 index 0000000..46ecb35 --- /dev/null +++ b/docs/javadoc/package-list @@ -0,0 +1,8 @@ +inf112.fiasko.roborally +inf112.fiasko.roborally.networking +inf112.fiasko.roborally.networking.containers +inf112.fiasko.roborally.objects +inf112.fiasko.roborally.objects.properties +inf112.fiasko.roborally.ui +inf112.fiasko.roborally.ui.screens +inf112.fiasko.roborally.utility diff --git a/docs/javadoc/script.js b/docs/javadoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/docs/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc/stylesheet.css b/docs/javadoc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/docs/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +}