diff --git a/README.md b/README.md index d667eaf..8262c4d 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ Javadoc for hele prosjektet kan finnes [her](https://inf112-v20.github.io/Fiasko - T: Denne knappen lar deg starte spillet i en modus spesialisert for manuell testing. Denne modusen støtter bare en spiller. +## Mer informasjon +For mer informasjon gå til [wikien](https://github.com/inf112-v20/Fiasko/wiki). + ## Bygging og kompilering ### Forkrav for å kunne kompilere og kjøre koden diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html index b011fbf..679617c 100644 --- a/docs/javadoc/allclasses-frame.html +++ b/docs/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes - + diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html index 05c617a..2a46b10 100644 --- a/docs/javadoc/allclasses-noframe.html +++ b/docs/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes - + diff --git a/docs/javadoc/constant-values.html b/docs/javadoc/constant-values.html index cb7069b..0af045a 100644 --- a/docs/javadoc/constant-values.html +++ b/docs/javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + diff --git a/docs/javadoc/deprecated-list.html b/docs/javadoc/deprecated-list.html index 3213612..d77aa1c 100644 --- a/docs/javadoc/deprecated-list.html +++ b/docs/javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + diff --git a/docs/javadoc/help-doc.html b/docs/javadoc/help-doc.html index fb71d29..f67359d 100644 --- a/docs/javadoc/help-doc.html +++ b/docs/javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/docs/javadoc/index-files/index-1.html b/docs/javadoc/index-files/index-1.html index 0537f38..86dbadf 100644 --- a/docs/javadoc/index-files/index-1.html +++ b/docs/javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + diff --git a/docs/javadoc/index-files/index-10.html b/docs/javadoc/index-files/index-10.html index e7b563f..ba64570 100644 --- a/docs/javadoc/index-files/index-10.html +++ b/docs/javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + K-Index - + diff --git a/docs/javadoc/index-files/index-11.html b/docs/javadoc/index-files/index-11.html index d80e124..4a6ae05 100644 --- a/docs/javadoc/index-files/index-11.html +++ b/docs/javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + L-Index - + @@ -95,10 +95,6 @@
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
diff --git a/docs/javadoc/index-files/index-12.html b/docs/javadoc/index-files/index-12.html index b44895d..2eb320c 100644 --- a/docs/javadoc/index-files/index-12.html +++ b/docs/javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + M-Index - + diff --git a/docs/javadoc/index-files/index-13.html b/docs/javadoc/index-files/index-13.html index 3bd7bbe..dc9c014 100644 --- a/docs/javadoc/index-files/index-13.html +++ b/docs/javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + N-Index - + diff --git a/docs/javadoc/index-files/index-14.html b/docs/javadoc/index-files/index-14.html index 99cca0d..0aca4ad 100644 --- a/docs/javadoc/index-files/index-14.html +++ b/docs/javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + O-Index - + diff --git a/docs/javadoc/index-files/index-15.html b/docs/javadoc/index-files/index-15.html index 2caea8e..ff90667 100644 --- a/docs/javadoc/index-files/index-15.html +++ b/docs/javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + P-Index - + diff --git a/docs/javadoc/index-files/index-16.html b/docs/javadoc/index-files/index-16.html index 88c93d5..7b1b96b 100644 --- a/docs/javadoc/index-files/index-16.html +++ b/docs/javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + Q-Index - + diff --git a/docs/javadoc/index-files/index-17.html b/docs/javadoc/index-files/index-17.html index 41c5a94..59e193c 100644 --- a/docs/javadoc/index-files/index-17.html +++ b/docs/javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + R-Index - + @@ -125,10 +125,6 @@
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 @@ -208,10 +204,12 @@
Runs all programming cards for a phase
-
runTurn() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
runTurn() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
Starts a turn in the game
+
runTurn() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
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 index 51dabe9..2f7fe3e 100644 --- a/docs/javadoc/index-files/index-18.html +++ b/docs/javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -226,8 +226,6 @@
 
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
diff --git a/docs/javadoc/index-files/index-19.html b/docs/javadoc/index-files/index-19.html index 690b4bb..20c2eb2 100644 --- a/docs/javadoc/index-files/index-19.html +++ b/docs/javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -127,10 +127,6 @@
 
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
diff --git a/docs/javadoc/index-files/index-2.html b/docs/javadoc/index-files/index-2.html index d0a1e5c..656ccf2 100644 --- a/docs/javadoc/index-files/index-2.html +++ b/docs/javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + diff --git a/docs/javadoc/index-files/index-20.html b/docs/javadoc/index-files/index-20.html index 5804b5f..172dc5a 100644 --- a/docs/javadoc/index-files/index-20.html +++ b/docs/javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + U-Index - + @@ -81,8 +81,6 @@
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
diff --git a/docs/javadoc/index-files/index-21.html b/docs/javadoc/index-files/index-21.html index 27f3d75..ca809e3 100644 --- a/docs/javadoc/index-files/index-21.html +++ b/docs/javadoc/index-files/index-21.html @@ -2,9 +2,9 @@ - + V-Index - + diff --git a/docs/javadoc/index-files/index-22.html b/docs/javadoc/index-files/index-22.html index a396522..ac62f80 100644 --- a/docs/javadoc/index-files/index-22.html +++ b/docs/javadoc/index-files/index-22.html @@ -2,9 +2,9 @@ - + W-Index - + diff --git a/docs/javadoc/index-files/index-3.html b/docs/javadoc/index-files/index-3.html index 166d7da..8d77950 100644 --- a/docs/javadoc/index-files/index-3.html +++ b/docs/javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + diff --git a/docs/javadoc/index-files/index-4.html b/docs/javadoc/index-files/index-4.html index b5910b0..3cdcd53 100644 --- a/docs/javadoc/index-files/index-4.html +++ b/docs/javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + diff --git a/docs/javadoc/index-files/index-5.html b/docs/javadoc/index-files/index-5.html index e58b277..588ea59 100644 --- a/docs/javadoc/index-files/index-5.html +++ b/docs/javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + diff --git a/docs/javadoc/index-files/index-6.html b/docs/javadoc/index-files/index-6.html index e2af878..8682a13 100644 --- a/docs/javadoc/index-files/index-6.html +++ b/docs/javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + diff --git a/docs/javadoc/index-files/index-7.html b/docs/javadoc/index-files/index-7.html index bb3663c..29ddd1f 100644 --- a/docs/javadoc/index-files/index-7.html +++ b/docs/javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -127,6 +127,10 @@
Gets the height of the board
+
getBoardListHumanReadable() - Static method in class inf112.fiasko.roborally.utility.BoardLoaderUtil
+
+
Gets a list of all available boards with human-readable names
+
getBoardName() - Method in class inf112.fiasko.roborally.networking.containers.GameStartInfoResponse
Gets the board name
@@ -429,6 +433,10 @@
Gets the map of programs
+
getRealBoardName(String) - Static method in class inf112.fiasko.roborally.utility.BoardLoaderUtil
+
+
Gets the actual file name of a board given its human-readable name
+
getRealDeadRobots() - Method in class inf112.fiasko.roborally.objects.Board
Gets a list of robots no longer part of the game
@@ -475,10 +483,12 @@
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
+
getRobotPowerDown() - Method in interface inf112.fiasko.roborally.objects.InteractableGame
Gets the power down status of the client playing this instance of the game
+
getRobotPowerDown() - Method in class inf112.fiasko.roborally.objects.RoboRallyGame
+
 
getRobotsToDraw() - Method in interface inf112.fiasko.roborally.objects.DrawableGame
Gets a list of all robots to draw
diff --git a/docs/javadoc/index-files/index-8.html b/docs/javadoc/index-files/index-8.html index 0aaa4b9..7ba4a45 100644 --- a/docs/javadoc/index-files/index-8.html +++ b/docs/javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + diff --git a/docs/javadoc/index-files/index-9.html b/docs/javadoc/index-files/index-9.html index 838be92..9a72abb 100644 --- a/docs/javadoc/index-files/index-9.html +++ b/docs/javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + diff --git a/docs/javadoc/index.html b/docs/javadoc/index.html index 239ff78..600a3c8 100644 --- a/docs/javadoc/index.html +++ b/docs/javadoc/index.html @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html b/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html index c7c81ec..021fec5 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/RequestState.html @@ -2,9 +2,9 @@ - + RequestState - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html index df46532..4d0d020 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyClient.html @@ -2,9 +2,9 @@ - + RoboRallyClient - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html index 0f6e646..475f74a 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/RoboRallyServer.html @@ -2,9 +2,9 @@ - + RoboRallyServer - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html index 994ad2d..d604b80 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ErrorResponse.html @@ -2,9 +2,9 @@ - + ErrorResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html index d07bb78..eddd36e 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/GameStartInfoResponse.html @@ -2,9 +2,9 @@ - + GameStartInfoResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html index e56a3f2..184a968 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HandResponse.html @@ -2,9 +2,9 @@ - + HandResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html index 77318dd..d95f0fd 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/HurryResponse.html @@ -2,9 +2,9 @@ - + HurryResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html index 5fe016a..f22f36c 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/OkayResponse.html @@ -2,9 +2,9 @@ - + OkayResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html index 64ae74a..5c46c6b 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/PowerDownContainerResponse.html @@ -2,9 +2,9 @@ - + PowerDownContainerResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html index 13af7ff..2766018 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramAndPowerdownRequest.html @@ -2,9 +2,9 @@ - + ProgramAndPowerdownRequest - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html index 58e167b..dd418f3 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/ProgramsContainerResponse.html @@ -2,9 +2,9 @@ - + ProgramsContainerResponse - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html index 531a7f9..85cce95 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/UsernameRequest.html @@ -2,9 +2,9 @@ - + UsernameRequest - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html index 192ae3d..43b945f 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-frame.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.networking.containers - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html index eb8f72d..892a8d0 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-summary.html @@ -2,9 +2,9 @@ - + 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 index 8246501..6feb58e 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-tree.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/containers/package-tree.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.networking.containers Class Hierarchy - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html index 8c02381..fb7ac4c 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/package-frame.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.networking - + diff --git a/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html index 6b20647..ea7b26d 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/package-summary.html @@ -2,9 +2,9 @@ - + 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 index 1f99a3b..0ef00df 100644 --- a/docs/javadoc/inf112/fiasko/roborally/networking/package-tree.html +++ b/docs/javadoc/inf112/fiasko/roborally/networking/package-tree.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.networking Class Hierarchy - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html b/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html index c979214..fa837ec 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/AbstractDeck.html @@ -2,9 +2,9 @@ - + AbstractDeck - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Board.html b/docs/javadoc/inf112/fiasko/roborally/objects/Board.html index 4aaf19a..e5ca978 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Board.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Board.html @@ -2,9 +2,9 @@ - + Board - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -323,57 +323,51 @@ extends java.lang.Object void -respawnRobot(Robot robot) -
Re-spawns a robot at the first available position relative to its backup position
- - - -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.
- + void reverseRobot(RobotID robotID)
Moves a robot one unit backwards according to the direction it's currently facing
- + void rotateRobotLeft(RobotID robotID)
Rotates a robot to the right
- + void rotateRobotRight(RobotID robotID)
Rotates a robot to the left
- + void setBackupPositionOfRobot(RobotID robotID, Position position)
Sets the backup position of a given robot to a given position
- + void setHasTouchedFlagThisTurn(RobotID robotID, boolean hasTouched)
Sets a boolean for if the robot has touched a flag this turn
- + void setPowerDown(RobotID robotID, java.lang.Boolean powerDown)
Sets the power down status of the robot
- + void teleportRobot(RobotID robotID, Position newPosition) @@ -382,23 +376,13 @@ extends java.lang.Object Be quite careful about using this method. - -boolean -tryRobotRespawn(Robot robot, - int size, - int startX, - int startY, - Direction direction) -
Tries to re-spawn a robot on one of the positions described
- - - + void updateRobotBackups()
Updates backup position of all robots on a repair tile
- + void updateRobotFlag(RobotID robotID, BoardElementContainer<Tile> flag) @@ -792,44 +776,6 @@ extends java.lang.Object it will be removed from the game. - - - - - - - - diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html index 41e1155..4c74da2 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElement.html @@ -2,9 +2,9 @@ - + BoardElement - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html index f8ba071..0d3d637 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/BoardElementContainer.html @@ -2,9 +2,9 @@ - + BoardElementContainer - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html b/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html index 989c9d1..e0ce33d 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Deck.html @@ -2,9 +2,9 @@ - + Deck - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html index f1761d7..b57ebee 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableGame.html @@ -2,9 +2,9 @@ - + DrawableGame - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html index aeb217a..4e0ed16 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/DrawableObject.html @@ -2,9 +2,9 @@ - + DrawableObject - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html b/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html index 3d19be6..1a4edbf 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Grid.html @@ -2,9 +2,9 @@ - + Grid - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html b/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html index e07d04e..0266f70 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/InteractableGame.html @@ -2,9 +2,9 @@ - + InteractableGame - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -155,48 +155,60 @@ var activeTableTab = "activeTableTab"; +boolean +getRobotPowerDown() +
Gets the power down status of the client playing this instance of the game
+ + + java.lang.String getWinningPlayerName()
Gets the name of the player who won
- + void receiveAllPrograms(ProgramsContainerResponse programs)
Continues turn when programs for all players are received from the server
- + void receiveStayInPowerDown(PowerDownContainerResponse powerDowns)
Continues turn when stay in power down is received from all players
- + +void +runTurn() +
Starts a turn in the game
+ + + void setExtraCards(ProgrammingCardDeck extraCards)
Sets extra cards necessary when the player has no program to lock
- + void setGameState(GameState gameState)
Sets the state of the game
- + void setPlayerHand(ProgrammingCardDeck playerHand)
Sets the hand of this player
- + void setProgram(java.util.List<ProgrammingCard> program)
Sets the program of this player
- + void setWinningPlayerName(java.lang.String winningPlayerName)
Sets the name of the player that won the game
@@ -391,7 +403,7 @@ var activeTableTab = "activeTableTab"; - diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html b/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html index 968ad57..5bc7a03 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/ListGrid.html @@ -2,9 +2,9 @@ - + ListGrid - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html b/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html index cba6f53..aa17cf5 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Particle.html @@ -2,9 +2,9 @@ - + Particle - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html b/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html index 839a768..c34e766 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Phase.html @@ -2,9 +2,9 @@ - + Phase - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -196,10 +196,6 @@ extends java.lang.Object
Runs all programming cards for a phase
- -void -updateRobotRespawn()  - - - - - diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Player.html b/docs/javadoc/inf112/fiasko/roborally/objects/Player.html index ce7488b..06dbe2f 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Player.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Player.html @@ -2,9 +2,9 @@ - + Player - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html index 042e343..4accd19 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCard.html @@ -2,9 +2,9 @@ - + ProgrammingCard - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html index daece9f..36b6e9c 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/ProgrammingCardDeck.html @@ -2,9 +2,9 @@ - + ProgrammingCardDeck - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html b/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html index 04f7a4c..adb28a9 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/RoboRallyGame.html @@ -2,9 +2,9 @@ - + RoboRallyGame - + @@ -214,7 +214,7 @@ implements -java.lang.Boolean +boolean getRobotPowerDown()
Gets the power down status of the client playing this instance of the game
@@ -359,9 +359,12 @@ implements
  • getRobotPowerDown

    -
    public java.lang.Boolean getRobotPowerDown()
    +
    public boolean getRobotPowerDown()
    +
    Gets the power down status of the client playing this instance of the game
    +
    Specified by:
    +
    getRobotPowerDown in interface InteractableGame
    Returns:
    Whether this player's robot is in power down
    @@ -743,7 +746,12 @@ implements

    runTurn

    public void runTurn()
    +
    Starts a turn in the game
    +
    +
    Specified by:
    +
    runTurn in interface InteractableGame
    +
  • diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html b/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html index e1f8645..ee8c988 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Robot.html @@ -2,9 +2,9 @@ - + Robot - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html b/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html index 9281803..bd31fcd 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Tile.html @@ -2,9 +2,9 @@ - + Tile - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html b/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html index 404b0bb..443fcaa 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/TwoTuple.html @@ -2,9 +2,9 @@ - + TwoTuple - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html b/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html index 525aa64..9dd533e 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/Wall.html @@ -2,9 +2,9 @@ - + Wall - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html index bafa2d5..601f231 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/package-frame.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.objects - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html index 2bc57a0..e5eed29 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/package-summary.html @@ -2,9 +2,9 @@ - + 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 index d416507..2666d1e 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/package-tree.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/package-tree.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.objects Class Hierarchy - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html index 6426ae3..b03cbb7 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Action.html @@ -2,9 +2,9 @@ - + Action - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html index 020877c..6c97623 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Direction.html @@ -2,9 +2,9 @@ - + Direction - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html index b43889a..a639418 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/GameState.html @@ -2,9 +2,9 @@ - + GameState - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html index 65fc4a0..8b6f0ef 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/ParticleType.html @@ -2,9 +2,9 @@ - + ParticleType - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html index 5c87a4e..41af9a5 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/Position.html @@ -2,9 +2,9 @@ - + Position - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html index 5302f46..a367afd 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/RobotID.html @@ -2,9 +2,9 @@ - + RobotID - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html index 00b7379..a63a043 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/TileType.html @@ -2,9 +2,9 @@ - + TileType - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html index 9dd0f59..5fbf13f 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/WallType.html @@ -2,9 +2,9 @@ - + WallType - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html index aa33564..62ae356 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-frame.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.objects.properties - + diff --git a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html index adbff39..2fa1031 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-summary.html @@ -2,9 +2,9 @@ - + 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 index 4a69fbc..f6db2c2 100644 --- a/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-tree.html +++ b/docs/javadoc/inf112/fiasko/roborally/objects/properties/package-tree.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally.objects.properties Class Hierarchy - + @@ -90,13 +90,13 @@ diff --git a/docs/javadoc/inf112/fiasko/roborally/package-frame.html b/docs/javadoc/inf112/fiasko/roborally/package-frame.html index f057ac7..99409cf 100644 --- a/docs/javadoc/inf112/fiasko/roborally/package-frame.html +++ b/docs/javadoc/inf112/fiasko/roborally/package-frame.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally - + diff --git a/docs/javadoc/inf112/fiasko/roborally/package-summary.html b/docs/javadoc/inf112/fiasko/roborally/package-summary.html index 997d6da..c6591c6 100644 --- a/docs/javadoc/inf112/fiasko/roborally/package-summary.html +++ b/docs/javadoc/inf112/fiasko/roborally/package-summary.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally - + diff --git a/docs/javadoc/inf112/fiasko/roborally/package-tree.html b/docs/javadoc/inf112/fiasko/roborally/package-tree.html index ce3ca9e..9f671ed 100644 --- a/docs/javadoc/inf112/fiasko/roborally/package-tree.html +++ b/docs/javadoc/inf112/fiasko/roborally/package-tree.html @@ -2,9 +2,9 @@ - + inf112.fiasko.roborally Class Hierarchy - + diff --git a/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html b/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html index c231bad..0527a37 100644 --- a/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html +++ b/docs/javadoc/inf112/fiasko/roborally/ui/RoboRallyUI.html @@ -2,9 +2,9 @@ - + RoboRallyUI - + @@ -125,7 +125,7 @@ var activeTableTab = "activeTableTab"; Method and Description -RoboRallyGame +InteractableGame getGame()
    Gets the robo rally game being rendered by the UI
    @@ -181,7 +181,7 @@ var activeTableTab = "activeTableTab";