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};
<li><ahref="../../../../inf112/fiasko/roborally/objects/AbstractDeck.html"title="class in inf112.fiasko.roborally.objects"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../inf112/fiasko/roborally/objects/BoardElement.html"title="interface in inf112.fiasko.roborally.objects"><spanclass="typeNameLink">Next Class</span></a></li>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#Board-inf112.fiasko.roborally.objects.Grid-inf112.fiasko.roborally.objects.Grid-java.util.List-">Board</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/Grid.html"title="interface in inf112.fiasko.roborally.objects">Grid</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> tiles,
<ahref="../../../../inf112/fiasko/roborally/objects/Grid.html"title="interface in inf112.fiasko.roborally.objects">Grid</a><<ahref="../../../../inf112/fiasko/roborally/objects/Wall.html"title="class in inf112.fiasko.roborally.objects">Wall</a>> walls,
java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Robot.html"title="class in inf112.fiasko.roborally.objects">Robot</a>> robots)</code>
<divclass="block">Initializes the board</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trid="i0"class="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#conveyorBeltCanMove-inf112.fiasko.roborally.objects.BoardElementContainer-int-">conveyorBeltCanMove</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> conveyorBelt,
int iterations)</code>
<divclass="block">Checks whether a given conveyor belt is able to move in its direction</div>
<divclass="block">Fires all lasers on the board and kills any robot that has taken to much damage after all lasers have fired.</div>
</td>
</tr>
<trid="i4"class="altColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Robot.html"title="class in inf112.fiasko.roborally.objects">Robot</a>></code></td>
<divclass="block">Gets all alive robots from the board</div>
</td>
</tr>
<trid="i5"class="rowColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Robot.html"title="class in inf112.fiasko.roborally.objects">Robot</a>></code></td>
<divclass="block">Gets the width of the board</div>
</td>
</tr>
<trid="i8"class="altColor">
<tdclass="colFirst"><code>int</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getLastFlagVisited-inf112.fiasko.roborally.objects.properties.RobotID-">getLastFlagVisited</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Gets the int corresponding to the flag a robot has last visited</div>
</td>
</tr>
<trid="i9"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getNewPosition-inf112.fiasko.roborally.objects.properties.Position-inf112.fiasko.roborally.objects.properties.Direction-">getNewPosition</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> oldPosition,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</code>
<divclass="block">Gets the position 1 unit in a specific direction from another position</div>
</td>
</tr>
<trid="i10"class="altColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Particle.html"title="class in inf112.fiasko.roborally.objects">Particle</a>></code></td>
<divclass="block">Gets all the particles from the board</div>
</td>
</tr>
<trid="i11"class="rowColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>>></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getPositionsOfTilesOnBoard-inf112.fiasko.roborally.objects.properties.TileType...-">getPositionsOfTilesOnBoard</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/TileType.html"title="enum in inf112.fiasko.roborally.objects.properties">TileType</a>... tiles)</code>
<divclass="block">Gets a list of BoardElementContainers, containing all tiles and positions of given tile types</div>
</td>
</tr>
<trid="i12"class="altColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Wall.html"title="class in inf112.fiasko.roborally.objects">Wall</a>>></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getPositionsOfWallsOnBoard-inf112.fiasko.roborally.objects.properties.WallType...-">getPositionsOfWallsOnBoard</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/WallType.html"title="enum in inf112.fiasko.roborally.objects.properties">WallType</a>... walls)</code>
<divclass="block">Gets a list of BoardElementContainers, containing all tiles and positions of given wall types</div>
</td>
</tr>
<trid="i13"class="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getPowerDown-inf112.fiasko.roborally.objects.properties.RobotID-">getPowerDown</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Gets the power down status of the robot</div>
</td>
</tr>
<trid="i14"class="altColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a>></code></td>
<divclass="block">Gets a list of robots no longer part of the game</div>
</td>
</tr>
<trid="i15"class="rowColor">
<tdclass="colFirst"><code>int</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getRobotDamage-inf112.fiasko.roborally.objects.properties.RobotID-">getRobotDamage</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robot)</code>
<divclass="block">Get the damage of a specific robot</div>
</td>
</tr>
<trid="i16"class="altColor">
<tdclass="colFirst"><code><ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getRobotOnPosition-inf112.fiasko.roborally.objects.properties.Position-">getRobotOnPosition</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</code>
<divclass="block">Returns a robot id for a robot on a specific position if such a robot exists</div>
</td>
</tr>
<trid="i17"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#getTileOnPosition-inf112.fiasko.roborally.objects.properties.Position-">getTileOnPosition</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</code>
<divclass="block">Gets the tile on a specific position</div>
</td>
</tr>
<trid="i18"class="altColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>></code></td>
<divclass="block">Gets all the tiles from the board</div>
</td>
</tr>
<trid="i19"class="rowColor">
<tdclass="colFirst"><code>java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Wall.html"title="class in inf112.fiasko.roborally.objects">Wall</a>></code></td>
<divclass="block">Gets all the walls from the board</div>
</td>
</tr>
<trid="i20"class="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#hasRobotOnPosition-inf112.fiasko.roborally.objects.properties.Position-">hasRobotOnPosition</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</code>
<divclass="block">Checks whether there exists a robot on a specific position</div>
</td>
</tr>
<trid="i21"class="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#hasTouchedFlagThisTurn-inf112.fiasko.roborally.objects.properties.RobotID-">hasTouchedFlagThisTurn</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Checks a boolean for if the robot has touched a flag this turn</div>
</td>
</tr>
<trid="i22"class="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#isConveyorBelt-inf112.fiasko.roborally.objects.Tile-">isConveyorBelt</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a> tile)</code>
<divclass="block">Checks whether a given tile is a conveyor belt</div>
</td>
</tr>
<trid="i23"class="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#isRobotAlive-inf112.fiasko.roborally.objects.properties.RobotID-">isRobotAlive</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robot)</code>
<divclass="block">Checks if a specific robot is currently alive on the board</div>
</td>
</tr>
<trid="i24"class="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#isValidPosition-inf112.fiasko.roborally.objects.properties.Position-">isValidPosition</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</code>
<divclass="block">Checks whether a given position is valid</div>
</td>
</tr>
<trid="i25"class="rowColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#moveRobot-inf112.fiasko.roborally.objects.properties.RobotID-inf112.fiasko.roborally.objects.properties.Direction-">moveRobot</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</code>
<divclass="block">Moves a robot one unit in a specified direction</div>
</td>
</tr>
<trid="i26"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#moveRobotForward-inf112.fiasko.roborally.objects.properties.RobotID-">moveRobotForward</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Moves a robot one unit forward according to the direction it's currently facing</div>
</td>
</tr>
<trid="i27"class="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#repairRobotOnTile-inf112.fiasko.roborally.objects.properties.RobotID-">repairRobotOnTile</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Removes one damage for a given robot given that it has taken som damage before</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#reverseRobot-inf112.fiasko.roborally.objects.properties.RobotID-">reverseRobot</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Moves a robot one unit backwards according to the direction it's currently facing</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#rotateRobotLeft-inf112.fiasko.roborally.objects.properties.RobotID-">rotateRobotLeft</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Rotates a robot to the right</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#rotateRobotRight-inf112.fiasko.roborally.objects.properties.RobotID-">rotateRobotRight</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</code>
<divclass="block">Rotates a robot to the left</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#setBackupPositionOfRobot-inf112.fiasko.roborally.objects.properties.RobotID-inf112.fiasko.roborally.objects.properties.Position-">setBackupPositionOfRobot</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</code>
<divclass="block">Sets the backup position of a given robot to a given position</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#setHasTouchedFlagThisTurn-inf112.fiasko.roborally.objects.properties.RobotID-boolean-">setHasTouchedFlagThisTurn</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
boolean hasTouched)</code>
<divclass="block">Sets a boolean for if the robot has touched a flag this turn</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#setPowerDown-inf112.fiasko.roborally.objects.properties.RobotID-java.lang.Boolean-">setPowerDown</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
java.lang.Boolean powerDown)</code>
<divclass="block">Sets the power down status of the robot</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#teleportRobot-inf112.fiasko.roborally.objects.properties.RobotID-inf112.fiasko.roborally.objects.properties.Position-">teleportRobot</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> newPosition)</code>
<divclass="block">Teleports a robot to some position without verification
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../inf112/fiasko/roborally/objects/Board.html#updateRobotFlag-inf112.fiasko.roborally.objects.properties.RobotID-inf112.fiasko.roborally.objects.BoardElementContainer-">updateRobotFlag</a></span>(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> flag)</code>
<divclass="block">Updates the flag of the robot if it stands on the correct flag.</div>
<pre>public Board(<ahref="../../../../inf112/fiasko/roborally/objects/Grid.html"title="interface in inf112.fiasko.roborally.objects">Grid</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> tiles,
<ahref="../../../../inf112/fiasko/roborally/objects/Grid.html"title="interface in inf112.fiasko.roborally.objects">Grid</a><<ahref="../../../../inf112/fiasko/roborally/objects/Wall.html"title="class in inf112.fiasko.roborally.objects">Wall</a>> walls,
java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Robot.html"title="class in inf112.fiasko.roborally.objects">Robot</a>> robots)</pre>
<dd><code>tiles</code> - A grid containing all tiles</dd>
<dd><code>walls</code> - A grid containing all walls</dd>
<dd><code>robots</code> - A list of all robots in the game</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getRealDeadRobots--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getRealDeadRobots</h4>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a>> getRealDeadRobots()</pre>
<divclass="block">Gets a list of robots no longer part of the game</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>Robots no longer part of the game</dd>
</dl>
</li>
</ul>
<aname="getBoardHeight--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getBoardHeight</h4>
<pre>public int getBoardHeight()</pre>
<divclass="block">Gets the height of the board</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>The height of the board</dd>
</dl>
</li>
</ul>
<aname="getBoardWidth--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getBoardWidth</h4>
<pre>public int getBoardWidth()</pre>
<divclass="block">Gets the width of the board</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>The width of the board</dd>
</dl>
</li>
</ul>
<aname="getAliveRobots--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getAliveRobots</h4>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Robot.html"title="class in inf112.fiasko.roborally.objects">Robot</a>> getAliveRobots()</pre>
<divclass="block">Gets all alive robots from the board</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>A list of alive robots</dd>
</dl>
</li>
</ul>
<aname="getAllRobots--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getAllRobots</h4>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Robot.html"title="class in inf112.fiasko.roborally.objects">Robot</a>> getAllRobots()</pre>
<divclass="block">Gets all robots from the board</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>A list of robots</dd>
</dl>
</li>
</ul>
<aname="getTiles--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getTiles</h4>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> getTiles()</pre>
<divclass="block">Gets all the tiles from the board</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>A list of all tiles on the board</dd>
</dl>
</li>
</ul>
<aname="getWalls--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getWalls</h4>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Wall.html"title="class in inf112.fiasko.roborally.objects">Wall</a>> getWalls()</pre>
<divclass="block">Gets all the walls from the board</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>A list of all the walls on the board</dd>
</dl>
</li>
</ul>
<aname="getParticles--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getParticles</h4>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/Particle.html"title="class in inf112.fiasko.roborally.objects">Particle</a>> getParticles()</pre>
<divclass="block">Gets all the particles from the board</div>
<pre>public void rotateRobotLeft(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Rotates a robot to the right</div>
<pre>public void rotateRobotRight(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Rotates a robot to the left</div>
<pre>public void moveRobotForward(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Moves a robot one unit forward according to the direction it's currently facing</div>
<pre>public void reverseRobot(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Moves a robot one unit backwards according to the direction it's currently facing</div>
<pre>public void setPowerDown(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
java.lang.Boolean powerDown)</pre>
<divclass="block">Sets the power down status of the robot</div>
<pre>public void setBackupPositionOfRobot(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</pre>
<divclass="block">Sets the backup position of a given robot to a given position</div>
<pre>public boolean getPowerDown(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Gets the power down status of the robot</div>
<pre>public void repairRobotOnTile(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Removes one damage for a given robot given that it has taken som damage before</div>
<pre>public int getRobotDamage(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robot)</pre>
<divclass="block">Get the damage of a specific robot</div>
<pre>public boolean moveRobot(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</pre>
<divclass="block">Moves a robot one unit in a specified direction</div>
<pre>public boolean isConveyorBelt(<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a> tile)</pre>
<divclass="block">Checks whether a given tile is a conveyor belt</div>
<pre>public void teleportRobot(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> newPosition)</pre>
<divclass="block">Teleports a robot to some position without verification
<p>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
<pre>public boolean conveyorBeltCanMove(<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> conveyorBelt,
int iterations)</pre>
<divclass="block">Checks whether a given conveyor belt is able to move in its direction</div>
<pre>public <ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> getRobotOnPosition(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</pre>
<divclass="block">Returns a robot id for a robot on a specific position if such a robot exists</div>
<pre>public boolean isRobotAlive(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robot)</pre>
<divclass="block">Checks if a specific robot is currently alive on the board</div>
<pre>public void updateRobotFlag(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>> flag)</pre>
<divclass="block">Updates the flag of the robot if it stands on the correct flag.</div>
<pre>public <ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> getNewPosition(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> oldPosition,
<ahref="../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</pre>
<divclass="block">Gets the position 1 unit in a specific direction from another position</div>
<pre>public <ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a> getTileOnPosition(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</pre>
<divclass="block">Gets the tile on a specific position</div>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Tile.html"title="class in inf112.fiasko.roborally.objects">Tile</a>>> getPositionsOfTilesOnBoard(<ahref="../../../../inf112/fiasko/roborally/objects/properties/TileType.html"title="enum in inf112.fiasko.roborally.objects.properties">TileType</a>... tiles)</pre>
<divclass="block">Gets a list of BoardElementContainers, containing all tiles and positions of given tile types</div>
<pre>public java.util.List<<ahref="../../../../inf112/fiasko/roborally/objects/BoardElementContainer.html"title="class in inf112.fiasko.roborally.objects">BoardElementContainer</a><<ahref="../../../../inf112/fiasko/roborally/objects/Wall.html"title="class in inf112.fiasko.roborally.objects">Wall</a>>> getPositionsOfWallsOnBoard(<ahref="../../../../inf112/fiasko/roborally/objects/properties/WallType.html"title="enum in inf112.fiasko.roborally.objects.properties">WallType</a>... walls)</pre>
<divclass="block">Gets a list of BoardElementContainers, containing all tiles and positions of given wall types</div>
<pre>public boolean hasRobotOnPosition(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</pre>
<divclass="block">Checks whether there exists a robot on a specific position</div>
<pre>public boolean isValidPosition(<ahref="../../../../inf112/fiasko/roborally/objects/properties/Position.html"title="class in inf112.fiasko.roborally.objects.properties">Position</a> position)</pre>
<divclass="block">Checks whether a given position is valid</div>
<pre>public int getLastFlagVisited(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Gets the int corresponding to the flag a robot has last visited</div>
<pre>public void setHasTouchedFlagThisTurn(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID,
boolean hasTouched)</pre>
<divclass="block">Sets a boolean for if the robot has touched a flag this turn</div>
<pre>public boolean hasTouchedFlagThisTurn(<ahref="../../../../inf112/fiasko/roborally/objects/properties/RobotID.html"title="enum in inf112.fiasko.roborally.objects.properties">RobotID</a> robotID)</pre>
<divclass="block">Checks a boolean for if the robot has touched a flag this turn</div>
<li><ahref="../../../../inf112/fiasko/roborally/objects/AbstractDeck.html"title="class in inf112.fiasko.roborally.objects"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../inf112/fiasko/roborally/objects/BoardElement.html"title="interface in inf112.fiasko.roborally.objects"><spanclass="typeNameLink">Next Class</span></a></li>