You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

316 lines
23 KiB

  1. <!DOCTYPE HTML>
  2. <html lang="de">
  3. <head>
  4. <!-- Generated by javadoc (17) on Thu May 12 09:13:23 CEST 2022 -->
  5. <title>ObjectController</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8. <meta name="dc.created" content="2022-05-12">
  9. <meta name="description" content="declaration: package: controller, class: ObjectController">
  10. <meta name="generator" content="javadoc/ClassWriterImpl">
  11. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  12. <link rel="stylesheet" type="text/css" href="../script-dir/jquery-ui.min.css" title="Style">
  13. <link rel="stylesheet" type="text/css" href="../jquery-ui.overrides.css" title="Style">
  14. <script type="text/javascript" src="../script.js"></script>
  15. <script type="text/javascript" src="../script-dir/jquery-3.5.1.min.js"></script>
  16. <script type="text/javascript" src="../script-dir/jquery-ui.min.js"></script>
  17. </head>
  18. <body class="class-declaration-page">
  19. <script type="text/javascript">var evenRowColor = "even-row-color";
  20. var oddRowColor = "odd-row-color";
  21. var tableTab = "table-tab";
  22. var activeTableTab = "active-table-tab";
  23. var pathtoroot = "../";
  24. loadScripts(document, 'script');</script>
  25. <noscript>
  26. <div>JavaScript is disabled on your browser.</div>
  27. </noscript>
  28. <div class="flex-box">
  29. <header role="banner" class="flex-header">
  30. <nav role="navigation">
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="top-nav" id="navbar-top">
  33. <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
  34. <ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
  35. <li><a href="../index.html">Overview</a></li>
  36. <li><a href="package-summary.html">Package</a></li>
  37. <li class="nav-bar-cell1-rev">Class</li>
  38. <li><a href="class-use/ObjectController.html">Use</a></li>
  39. <li><a href="package-tree.html">Tree</a></li>
  40. <li><a href="../index-files/index-1.html">Index</a></li>
  41. <li><a href="../help-doc.html#class">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="sub-nav">
  45. <div>
  46. <ul class="sub-nav-list">
  47. <li>Summary:&nbsp;</li>
  48. <li>Nested&nbsp;|&nbsp;</li>
  49. <li>Field&nbsp;|&nbsp;</li>
  50. <li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
  51. <li><a href="#method-summary">Method</a></li>
  52. </ul>
  53. <ul class="sub-nav-list">
  54. <li>Detail:&nbsp;</li>
  55. <li>Field&nbsp;|&nbsp;</li>
  56. <li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
  57. <li><a href="#method-detail">Method</a></li>
  58. </ul>
  59. </div>
  60. <div class="nav-list-search"><label for="search-input">SEARCH:</label>
  61. <input type="text" id="search-input" value="search" disabled="disabled">
  62. <input type="reset" id="reset-button" value="reset" disabled="disabled">
  63. </div>
  64. </div>
  65. <!-- ========= END OF TOP NAVBAR ========= -->
  66. <span class="skip-nav" id="skip-navbar-top"></span></nav>
  67. </header>
  68. <div class="flex-content">
  69. <main role="main">
  70. <!-- ======== START OF CLASS DATA ======== -->
  71. <div class="header">
  72. <div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">controller</a></div>
  73. <h1 title="Class ObjectController" class="title">Class ObjectController</h1>
  74. </div>
  75. <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
  76. <div class="inheritance">controller.ObjectController</div>
  77. </div>
  78. <section class="class-description" id="class-description">
  79. <dl class="notes">
  80. <dt>Direct Known Subclasses:</dt>
  81. <dd><code><a href="EgoController.html" title="class in controller">EgoController</a></code>, <code><a href="EnemyController.html" title="class in controller">EnemyController</a></code>, <code><a href="FallingStarController.html" title="class in controller">FallingStarController</a></code>, <code><a href="LimitedTimeController.html" title="class in controller">LimitedTimeController</a></code>, <code><a href="MineController.html" title="class in controller">MineController</a></code>, <code><a href="SimpleShotController.html" title="class in controller">SimpleShotController</a></code></dd>
  82. </dl>
  83. <hr>
  84. <div class="type-signature"><span class="modifiers">public abstract class </span><span class="element-name type-name-label">ObjectController</span>
  85. <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
  86. <div class="block">Class that controls the LOGICAL behavior of an object independently of how it is displayed or
  87. drawn. The most important method here is <a href="#updateObject()"><code>updateObject()</code></a>: this method is, by various
  88. indirections, called exactly once per game time step for every object that is on the playground.
  89. It has, by virtue of the member variables <code>gameObject</code> full access to
  90. <ul>
  91. <li>the object it is controlling
  92. <li>the playground this object belongs to
  93. </ul>
  94. Typically, updateObject would check whether an object leaves the screen to react appropriately.
  95. In that case the object can be marked for deletion (by adding it to the flag "deleted" that is
  96. always defined for any playground), but of course other reactions are possible like rebounding,
  97. emerging on the other side, ...</div>
  98. </section>
  99. <section class="summary">
  100. <ul class="summary-list">
  101. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  102. <li>
  103. <section class="constructor-summary" id="constructor-summary">
  104. <h2>Constructor Summary</h2>
  105. <div class="caption"><span>Constructors</span></div>
  106. <div class="summary-table two-column-summary">
  107. <div class="table-header col-first">Constructor</div>
  108. <div class="table-header col-last">Description</div>
  109. <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">ObjectController</a>()</code></div>
  110. <div class="col-last even-row-color">&nbsp;</div>
  111. </div>
  112. </section>
  113. </li>
  114. <!-- ========== METHOD SUMMARY =========== -->
  115. <li>
  116. <section class="method-summary" id="method-summary">
  117. <h2>Method Summary</h2>
  118. <div id="method-summary-table">
  119. <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
  120. <div id="method-summary-table.tabpanel" role="tabpanel">
  121. <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
  122. <div class="table-header col-first">Modifier and Type</div>
  123. <div class="table-header col-second">Method</div>
  124. <div class="table-header col-last">Description</div>
  125. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  126. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#applySpeedVector()" class="member-name-link">applySpeedVector</a>()</code></div>
  127. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
  128. <div class="block">Convenience method: simply moves the object forward one step from its present position, using
  129. its present speed.</div>
  130. </div>
  131. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../playground/Playground.html" title="class in playground">Playground</a></code></div>
  132. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPlayground()" class="member-name-link">getPlayground</a>()</code></div>
  133. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  134. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
  135. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTimestep()" class="member-name-link">getTimestep</a>()</code></div>
  136. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  137. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
  138. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVX()" class="member-name-link">getVX</a>()</code></div>
  139. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  140. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
  141. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getVY()" class="member-name-link">getVY</a>()</code></div>
  142. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  143. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
  144. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getX()" class="member-name-link">getX</a>()</code></div>
  145. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  146. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
  147. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getY()" class="member-name-link">getY</a>()</code></div>
  148. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  149. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  150. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDummy(java.lang.String)" class="member-name-link">setDummy</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;x)</code></div>
  151. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  152. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  153. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setObject(gameobjects.GameObject)" class="member-name-link">setObject</a><wbr>(<a href="../gameobjects/GameObject.html" title="class in gameobjects">GameObject</a>&nbsp;gameObject)</code></div>
  154. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  155. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  156. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../playground/Playground.html" title="class in playground">Playground</a>&nbsp;playground)</code></div>
  157. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  158. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  159. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setVX(double)" class="member-name-link">setVX</a><wbr>(double&nbsp;vx)</code></div>
  160. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  161. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  162. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setVY(double)" class="member-name-link">setVY</a><wbr>(double&nbsp;vy)</code></div>
  163. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  164. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  165. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setX(double)" class="member-name-link">setX</a><wbr>(double&nbsp;x)</code></div>
  166. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  167. <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
  168. <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setY(double)" class="member-name-link">setY</a><wbr>(double&nbsp;y)</code></div>
  169. <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
  170. <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>abstract void</code></div>
  171. <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#updateObject()" class="member-name-link">updateObject</a>()</code></div>
  172. <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
  173. <div class="block">Is called once every game time step by the game itself.</div>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. <div class="inherited-list">
  179. <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
  180. <code><a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
  181. </section>
  182. </li>
  183. </ul>
  184. </section>
  185. <section class="details">
  186. <ul class="details-list">
  187. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  188. <li>
  189. <section class="constructor-details" id="constructor-detail">
  190. <h2>Constructor Details</h2>
  191. <ul class="member-list">
  192. <li>
  193. <section class="detail" id="&lt;init&gt;()">
  194. <h3>ObjectController</h3>
  195. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">ObjectController</span>()</div>
  196. </section>
  197. </li>
  198. </ul>
  199. </section>
  200. </li>
  201. <!-- ============ METHOD DETAIL ========== -->
  202. <li>
  203. <section class="method-details" id="method-detail">
  204. <h2>Method Details</h2>
  205. <ul class="member-list">
  206. <li>
  207. <section class="detail" id="setObject(gameobjects.GameObject)">
  208. <h3>setObject</h3>
  209. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setObject</span><wbr><span class="parameters">(<a href="../gameobjects/GameObject.html" title="class in gameobjects">GameObject</a>&nbsp;gameObject)</span></div>
  210. </section>
  211. </li>
  212. <li>
  213. <section class="detail" id="setDummy(java.lang.String)">
  214. <h3>setDummy</h3>
  215. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setDummy</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;x)</span></div>
  216. </section>
  217. </li>
  218. <li>
  219. <section class="detail" id="updateObject()">
  220. <h3>updateObject</h3>
  221. <div class="member-signature"><span class="modifiers">public abstract</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">updateObject</span>()</div>
  222. <div class="block">Is called once every game time step by the game itself. NEVER call this directly, not
  223. necessary!<br>
  224. The method can do whatever it likes, including nothing. The attribute <code>gameObject</code>
  225. contains a reference to the controlled object, which allows access to the Playground the object
  226. belongs to (useful for getting the pixel size in x and y of the playing field.<br>
  227. <strong>Recommended:</strong> when implementing this method, call at the end
  228. <a href="#applySpeedVector()"><code>applySpeedVector()</code></a> method. This is a helper method that sets the new x,y coordinates
  229. for the <code>gameObject</code> correctly.</div>
  230. </section>
  231. </li>
  232. <li>
  233. <section class="detail" id="applySpeedVector()">
  234. <h3>applySpeedVector</h3>
  235. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">applySpeedVector</span>()</div>
  236. <div class="block">Convenience method: simply moves the object forward one step from its present position, using
  237. its present speed.</div>
  238. </section>
  239. </li>
  240. <li>
  241. <section class="detail" id="getTimestep()">
  242. <h3>getTimestep</h3>
  243. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getTimestep</span>()</div>
  244. </section>
  245. </li>
  246. <li>
  247. <section class="detail" id="getX()">
  248. <h3>getX</h3>
  249. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getX</span>()</div>
  250. </section>
  251. </li>
  252. <li>
  253. <section class="detail" id="getY()">
  254. <h3>getY</h3>
  255. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getY</span>()</div>
  256. </section>
  257. </li>
  258. <li>
  259. <section class="detail" id="getVX()">
  260. <h3>getVX</h3>
  261. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getVX</span>()</div>
  262. </section>
  263. </li>
  264. <li>
  265. <section class="detail" id="getVY()">
  266. <h3>getVY</h3>
  267. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getVY</span>()</div>
  268. </section>
  269. </li>
  270. <li>
  271. <section class="detail" id="setX(double)">
  272. <h3>setX</h3>
  273. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setX</span><wbr><span class="parameters">(double&nbsp;x)</span></div>
  274. </section>
  275. </li>
  276. <li>
  277. <section class="detail" id="setY(double)">
  278. <h3>setY</h3>
  279. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setY</span><wbr><span class="parameters">(double&nbsp;y)</span></div>
  280. </section>
  281. </li>
  282. <li>
  283. <section class="detail" id="setVX(double)">
  284. <h3>setVX</h3>
  285. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setVX</span><wbr><span class="parameters">(double&nbsp;vx)</span></div>
  286. </section>
  287. </li>
  288. <li>
  289. <section class="detail" id="setVY(double)">
  290. <h3>setVY</h3>
  291. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setVY</span><wbr><span class="parameters">(double&nbsp;vy)</span></div>
  292. </section>
  293. </li>
  294. <li>
  295. <section class="detail" id="getPlayground()">
  296. <h3>getPlayground</h3>
  297. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../playground/Playground.html" title="class in playground">Playground</a></span>&nbsp;<span class="element-name">getPlayground</span>()</div>
  298. </section>
  299. </li>
  300. <li>
  301. <section class="detail" id="setPlayground(playground.Playground)">
  302. <h3>setPlayground</h3>
  303. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setPlayground</span><wbr><span class="parameters">(<a href="../playground/Playground.html" title="class in playground">Playground</a>&nbsp;playground)</span></div>
  304. </section>
  305. </li>
  306. </ul>
  307. </section>
  308. </li>
  309. </ul>
  310. </section>
  311. <!-- ========= END OF CLASS DATA ========= -->
  312. </main>
  313. </div>
  314. </div>
  315. </body>
  316. </html>