<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="no"> <head> <!-- Generated by javadoc (1.8.0_201) on Tue May 05 15:44:52 CEST 2020 --> <title>DrawableGame</title> <meta name="date" content="2020-05-05"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="DrawableGame"; } } catch(err) { } //--> var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../inf112/fiasko/roborally/objects/Deck.html" title="interface in inf112.fiasko.roborally.objects"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../inf112/fiasko/roborally/objects/DrawableObject.html" title="class in inf112.fiasko.roborally.objects"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?inf112/fiasko/roborally/objects/DrawableGame.html" target="_top">Frames</a></li> <li><a href="DrawableGame.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">inf112.fiasko.roborally.objects</div> <h2 title="Interface DrawableGame" class="title">Interface DrawableGame</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Known Implementing Classes:</dt> <dd><a href="../../../../inf112/fiasko/roborally/objects/RoboRallyGame.html" title="class in inf112.fiasko.roborally.objects">RoboRallyGame</a></dd> </dl> <hr> <br> <pre>public interface <span class="typeNameLabel">DrawableGame</span></pre> <div class="block">This interface describes a game drawable using libgdx</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Robot.html" title="class in inf112.fiasko.roborally.objects">Robot</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getAllRobots--">getAllRobots</a></span>()</code> <div class="block">Gets a list of all robots still participating</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getHeight--">getHeight</a></span>()</code> <div class="block">Gets the number of tiles in the y direction</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Particle.html" title="class in inf112.fiasko.roborally.objects">Particle</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getParticlesToDraw--">getParticlesToDraw</a></span>()</code> <div class="block">Gets a list of all the particles to be drawn Should return a list readable from top-left to top-right and so on.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Player.html" title="class in inf112.fiasko.roborally.objects">Player</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getPlayers--">getPlayers</a></span>()</code> <div class="block">Gets a list of active players to receive information about player names</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Robot.html" title="class in inf112.fiasko.roborally.objects">Robot</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getRobotsToDraw--">getRobotsToDraw</a></span>()</code> <div class="block">Gets a list of all robots to draw</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Tile.html" title="class in inf112.fiasko.roborally.objects">Tile</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getTilesToDraw--">getTilesToDraw</a></span>()</code> <div class="block">Gets a list of all the tiles to be drawn Should return a list readable from top-left to top-right and so on.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Wall.html" title="class in inf112.fiasko.roborally.objects">Wall</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getWallsToDraw--">getWallsToDraw</a></span>()</code> <div class="block">Gets a list of all the walls to be drawn Should return a list readable from top-left to top-right and so on.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../inf112/fiasko/roborally/objects/DrawableGame.html#getWidth--">getWidth</a></span>()</code> <div class="block">Gets the number of tiles in the x direction</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getWidth--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getWidth</h4> <pre>int getWidth()</pre> <div class="block">Gets the number of tiles in the x direction</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A positive integer</dd> </dl> </li> </ul> <a name="getHeight--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getHeight</h4> <pre>int getHeight()</pre> <div class="block">Gets the number of tiles in the y direction</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A positive integer</dd> </dl> </li> </ul> <a name="getTilesToDraw--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTilesToDraw</h4> <pre>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Tile.html" title="class in inf112.fiasko.roborally.objects">Tile</a>> getTilesToDraw()</pre> <div class="block">Gets a list of all the tiles to be drawn <p>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.</p></div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A list of tiles</dd> </dl> </li> </ul> <a name="getWallsToDraw--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getWallsToDraw</h4> <pre>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Wall.html" title="class in inf112.fiasko.roborally.objects">Wall</a>> getWallsToDraw()</pre> <div class="block">Gets a list of all the walls to be drawn <p>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.</p></div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A list of walls</dd> </dl> </li> </ul> <a name="getParticlesToDraw--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getParticlesToDraw</h4> <pre>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Particle.html" title="class in inf112.fiasko.roborally.objects">Particle</a>> getParticlesToDraw()</pre> <div class="block">Gets a list of all the particles to be drawn <p>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.</p></div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A list of particles</dd> </dl> </li> </ul> <a name="getRobotsToDraw--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getRobotsToDraw</h4> <pre>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Robot.html" title="class in inf112.fiasko.roborally.objects">Robot</a>> getRobotsToDraw()</pre> <div class="block">Gets a list of all robots to draw</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A list of all robots to draw</dd> </dl> </li> </ul> <a name="getAllRobots--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAllRobots</h4> <pre>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Robot.html" title="class in inf112.fiasko.roborally.objects">Robot</a>> getAllRobots()</pre> <div class="block">Gets a list of all robots still participating</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A list of all robots</dd> </dl> </li> </ul> <a name="getPlayers--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getPlayers</h4> <pre>java.util.List<<a href="../../../../inf112/fiasko/roborally/objects/Player.html" title="class in inf112.fiasko.roborally.objects">Player</a>> getPlayers()</pre> <div class="block">Gets a list of active players to receive information about player names</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>A list of players</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-files/index-1.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../inf112/fiasko/roborally/objects/Deck.html" title="interface in inf112.fiasko.roborally.objects"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../inf112/fiasko/roborally/objects/DrawableObject.html" title="class in inf112.fiasko.roborally.objects"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?inf112/fiasko/roborally/objects/DrawableGame.html" target="_top">Frames</a></li> <li><a href="DrawableGame.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>