<li><ahref="../../../../../inf112/fiasko/roborally/objects/properties/Action.html"title="enum in inf112.fiasko.roborally.objects.properties"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../inf112/fiasko/roborally/objects/properties/GameState.html"title="enum in inf112.fiasko.roborally.objects.properties"><spanclass="typeNameLink">Next Class</span></a></li>
<li>java.lang.Enum<<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a>></li>
<dd>java.io.Serializable, java.lang.Comparable<<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a>></dd>
extends java.lang.Enum<<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a>></pre>
<divclass="block">This enum represents all possible directions for an element on the board</div>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html#arePerpendicular-inf112.fiasko.roborally.objects.properties.Direction-inf112.fiasko.roborally.objects.properties.Direction-">arePerpendicular</a></span>(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction1,
<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction2)</code>
<divclass="block">Checks whether two directions are perpendicular</div>
</td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a></code></td>
<divclass="block">Gets the numerical identifier used for alternate identification of a direction</div>
</td>
</tr>
<trid="i3"class="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html#getLeftRotatedDirection-inf112.fiasko.roborally.objects.properties.Direction-">getLeftRotatedDirection</a></span>(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</code>
<divclass="block">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.</div>
</td>
</tr>
<trid="i4"class="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html#getReverseDirection-inf112.fiasko.roborally.objects.properties.Direction-">getReverseDirection</a></span>(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</code>
<divclass="block">Gets the reverse of a direction</div>
</td>
</tr>
<trid="i5"class="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html#getRightRotatedDirection-inf112.fiasko.roborally.objects.properties.Direction-">getRightRotatedDirection</a></span>(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</code>
<divclass="block">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.</div>
</td>
</tr>
<trid="i6"class="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a></code></td>
<divclass="block">Returns the enum constant of this type with the specified name.</div>
</td>
</tr>
<trid="i7"class="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a>[]</code></td>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> NORTH</pre>
<divclass="block">The north direction</div>
</li>
</ul>
<aname="NORTH_EAST">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>NORTH_EAST</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> NORTH_EAST</pre>
<divclass="block">The north-east direction</div>
</li>
</ul>
<aname="EAST">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>EAST</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> EAST</pre>
<divclass="block">The east direction</div>
</li>
</ul>
<aname="SOUTH_EAST">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>SOUTH_EAST</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> SOUTH_EAST</pre>
<divclass="block">The south-east direction</div>
</li>
</ul>
<aname="SOUTH">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>SOUTH</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> SOUTH</pre>
<divclass="block">The south direction</div>
</li>
</ul>
<aname="SOUTH_WEST">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>SOUTH_WEST</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> SOUTH_WEST</pre>
<divclass="block">The south-west direction</div>
</li>
</ul>
<aname="WEST">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>WEST</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> WEST</pre>
<divclass="block">The west direction</div>
</li>
</ul>
<aname="NORTH_WEST">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>NORTH_WEST</h4>
<pre>public static final <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> NORTH_WEST</pre>
<divclass="block">The north-west direction</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="values--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>values</h4>
<pre>public static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a>[] values()</pre>
<divclass="block">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:
<pre>
for (Direction c : Direction.values())
System.out.println(c);
</pre></div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
</dl>
</li>
</ul>
<aname="valueOf-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>valueOf</h4>
<pre>public static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> valueOf(java.lang.String name)</pre>
<divclass="block">Returns the enum constant of this type with the specified name.
The string must match <i>exactly</i> an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>the enum constant with the specified name</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
</dl>
</li>
</ul>
<aname="getDirectionFromID-int-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getDirectionFromID</h4>
<pre>public static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> getDirectionFromID(int directionID)</pre>
<divclass="block">Gets a direction from its numerical id</div>
<pre>public static boolean arePerpendicular(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction1,
<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction2)</pre>
<divclass="block">Checks whether two directions are perpendicular</div>
<pre>public static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> getReverseDirection(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</pre>
<divclass="block">Gets the reverse of a direction</div>
<pre>public static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> getLeftRotatedDirection(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</pre>
<divclass="block">Gets the direction if something rotated to the left
<p>A rotation is assumed to be a ninety degrees rotation, so NORTH would become WEST and so on.</p></div>
<pre>public static <ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> getRightRotatedDirection(<ahref="../../../../../inf112/fiasko/roborally/objects/properties/Direction.html"title="enum in inf112.fiasko.roborally.objects.properties">Direction</a> direction)</pre>
<divclass="block">Gets the direction if something rotated to the right
<p>A rotation is assumed to be a ninety degrees rotation, so NORTH would become EAST and so on.</p></div>
<li><ahref="../../../../../inf112/fiasko/roborally/objects/properties/Action.html"title="enum in inf112.fiasko.roborally.objects.properties"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../inf112/fiasko/roborally/objects/properties/GameState.html"title="enum in inf112.fiasko.roborally.objects.properties"><spanclass="typeNameLink">Next Class</span></a></li>