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.

309 lines
21 KiB

  1. <!DOCTYPE HTML>
  2. <html lang="de">
  3. <head>
  4. <!-- Generated by javadoc (17) on Thu May 12 14:50:21 CEST 2022 -->
  5. <title>Uses of Class playground.Playground</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="use: package: playground, class: Playground">
  10. <meta name="generator" content="javadoc/ClassUseWriter">
  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-use-page">
  19. <script type="text/javascript">var pathtoroot = "../../";
  20. loadScripts(document, 'script');</script>
  21. <noscript>
  22. <div>JavaScript is disabled on your browser.</div>
  23. </noscript>
  24. <div class="flex-box">
  25. <header role="banner" class="flex-header">
  26. <nav role="navigation">
  27. <!-- ========= START OF TOP NAVBAR ======= -->
  28. <div class="top-nav" id="navbar-top">
  29. <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
  30. <ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
  31. <li><a href="../../index.html">Overview</a></li>
  32. <li><a href="../package-summary.html">Package</a></li>
  33. <li><a href="../Playground.html" title="class in playground">Class</a></li>
  34. <li class="nav-bar-cell1-rev">Use</li>
  35. <li><a href="../package-tree.html">Tree</a></li>
  36. <li><a href="../../index-files/index-1.html">Index</a></li>
  37. <li><a href="../../help-doc.html#use">Help</a></li>
  38. </ul>
  39. </div>
  40. <div class="sub-nav">
  41. <div class="nav-list-search"><label for="search-input">SEARCH:</label>
  42. <input type="text" id="search-input" value="search" disabled="disabled">
  43. <input type="reset" id="reset-button" value="reset" disabled="disabled">
  44. </div>
  45. </div>
  46. <!-- ========= END OF TOP NAVBAR ========= -->
  47. <span class="skip-nav" id="skip-navbar-top"></span></nav>
  48. </header>
  49. <div class="flex-content">
  50. <main role="main">
  51. <div class="header">
  52. <h1 title="Uses of Class playground.Playground" class="title">Uses of Class<br>playground.Playground</h1>
  53. </div>
  54. <div class="caption"><span>Packages that use <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  55. <div class="summary-table two-column-summary">
  56. <div class="table-header col-first">Package</div>
  57. <div class="table-header col-last">Description</div>
  58. <div class="col-first even-row-color"><a href="#collider">collider</a></div>
  59. <div class="col-last even-row-color">&nbsp;</div>
  60. <div class="col-first odd-row-color"><a href="#controller">controller</a></div>
  61. <div class="col-last odd-row-color">
  62. <div class="block">The controller package contains Object controllers that govern an objects behavior, without being
  63. involved in its collision or drawing properties.</div>
  64. </div>
  65. <div class="col-first even-row-color"><a href="#gameobjects">gameobjects</a></div>
  66. <div class="col-last even-row-color">&nbsp;</div>
  67. <div class="col-first odd-row-color"><a href="#playground">playground</a></div>
  68. <div class="col-last odd-row-color">&nbsp;</div>
  69. <div class="col-first even-row-color"><a href="#ui">ui</a></div>
  70. <div class="col-last even-row-color">&nbsp;</div>
  71. </div>
  72. <section class="class-uses">
  73. <ul class="block-list">
  74. <li>
  75. <section class="detail" id="collider">
  76. <h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../collider/package-summary.html">collider</a></h2>
  77. <div class="caption"><span>Methods in <a href="../../collider/package-summary.html">collider</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  78. <div class="summary-table three-column-summary">
  79. <div class="table-header col-first">Modifier and Type</div>
  80. <div class="table-header col-second">Method</div>
  81. <div class="table-header col-last">Description</div>
  82. <div class="col-first even-row-color"><code>void</code></div>
  83. <div class="col-second even-row-color"><span class="type-name-label">Collider.</span><code><a href="../../collider/Collider.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground)</code></div>
  84. <div class="col-last even-row-color">
  85. <div class="block">setter for Playground instance this collider belongs to</div>
  86. </div>
  87. </div>
  88. </section>
  89. </li>
  90. <li>
  91. <section class="detail" id="controller">
  92. <h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../controller/package-summary.html">controller</a></h2>
  93. <div class="caption"><span>Methods in <a href="../../controller/package-summary.html">controller</a> that return <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  94. <div class="summary-table three-column-summary">
  95. <div class="table-header col-first">Modifier and Type</div>
  96. <div class="table-header col-second">Method</div>
  97. <div class="table-header col-last">Description</div>
  98. <div class="col-first even-row-color"><code><a href="../Playground.html" title="class in playground">Playground</a></code></div>
  99. <div class="col-second even-row-color"><span class="type-name-label">ObjectController.</span><code><a href="../../controller/ObjectController.html#getPlayground()" class="member-name-link">getPlayground</a>()</code></div>
  100. <div class="col-last even-row-color">&nbsp;</div>
  101. </div>
  102. <div class="caption"><span>Methods in <a href="../../controller/package-summary.html">controller</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  103. <div class="summary-table three-column-summary">
  104. <div class="table-header col-first">Modifier and Type</div>
  105. <div class="table-header col-second">Method</div>
  106. <div class="table-header col-last">Description</div>
  107. <div class="col-first even-row-color"><code>void</code></div>
  108. <div class="col-second even-row-color"><span class="type-name-label">ObjectController.</span><code><a href="../../controller/ObjectController.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground)</code></div>
  109. <div class="col-last even-row-color">&nbsp;</div>
  110. </div>
  111. </section>
  112. </li>
  113. <li>
  114. <section class="detail" id="gameobjects">
  115. <h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../gameobjects/package-summary.html">gameobjects</a></h2>
  116. <div class="caption"><span>Methods in <a href="../../gameobjects/package-summary.html">gameobjects</a> that return <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  117. <div class="summary-table three-column-summary">
  118. <div class="table-header col-first">Modifier and Type</div>
  119. <div class="table-header col-second">Method</div>
  120. <div class="table-header col-last">Description</div>
  121. <div class="col-first even-row-color"><code><a href="../Playground.html" title="class in playground">Playground</a></code></div>
  122. <div class="col-second even-row-color"><span class="type-name-label">GameObject.</span><code><a href="../../gameobjects/GameObject.html#getPlayground()" class="member-name-link">getPlayground</a>()</code></div>
  123. <div class="col-last even-row-color">&nbsp;</div>
  124. </div>
  125. <div class="caption"><span>Methods in <a href="../../gameobjects/package-summary.html">gameobjects</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  126. <div class="summary-table three-column-summary">
  127. <div class="table-header col-first">Modifier and Type</div>
  128. <div class="table-header col-second">Method</div>
  129. <div class="table-header col-last">Description</div>
  130. <div class="col-first even-row-color"><code>void</code></div>
  131. <div class="col-second even-row-color"><span class="type-name-label">GameObject.</span><code><a href="../../gameobjects/GameObject.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground)</code></div>
  132. <div class="col-last even-row-color">&nbsp;</div>
  133. </div>
  134. <div class="caption"><span>Constructors in <a href="../../gameobjects/package-summary.html">gameobjects</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  135. <div class="summary-table three-column-summary">
  136. <div class="table-header col-first">Modifier</div>
  137. <div class="table-header col-second">Constructor</div>
  138. <div class="table-header col-last">Description</div>
  139. <div class="col-first even-row-color"><code>&nbsp;</code></div>
  140. <div class="col-second even-row-color"><code><a href="../../gameobjects/AnimatedGameobject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,double,playground.Animation,double,java.lang.String)" class="member-name-link">AnimatedGameobject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  141. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;pg,
  142. double&nbsp;x,
  143. double&nbsp;y,
  144. double&nbsp;vx,
  145. double&nbsp;vy,
  146. double&nbsp;scale,
  147. <a href="../Animation.html" title="class in playground">Animation</a>&nbsp;anim,
  148. double&nbsp;t0,
  149. <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;abspielmodus)</code></div>
  150. <div class="col-last even-row-color">&nbsp;</div>
  151. <div class="col-first odd-row-color"><code>&nbsp;</code></div>
  152. <div class="col-second odd-row-color"><code><a href="../../gameobjects/EgoObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,double)" class="member-name-link">EgoObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  153. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;pg,
  154. double&nbsp;x,
  155. double&nbsp;y,
  156. double&nbsp;vx,
  157. double&nbsp;vy,
  158. double&nbsp;egoRad)</code></div>
  159. <div class="col-last odd-row-color">&nbsp;</div>
  160. <div class="col-first even-row-color"><code>&nbsp;</code></div>
  161. <div class="col-second even-row-color"><code><a href="../../gameobjects/FallingStar.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,java.awt.Color,double)" class="member-name-link">FallingStar</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  162. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground,
  163. double&nbsp;x,
  164. double&nbsp;y,
  165. double&nbsp;vx,
  166. double&nbsp;vy,
  167. <a href="https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a>&nbsp;color,
  168. double&nbsp;rad)</code></div>
  169. <div class="col-last even-row-color">&nbsp;</div>
  170. <div class="col-first odd-row-color"><code>&nbsp;</code></div>
  171. <div class="col-second odd-row-color"><code><a href="../../gameobjects/GameObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double)" class="member-name-link">GameObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  172. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground,
  173. double&nbsp;x,
  174. double&nbsp;y,
  175. double&nbsp;vx,
  176. double&nbsp;vy)</code></div>
  177. <div class="col-last odd-row-color">
  178. <div class="block">Constructor to initialize a GameObject, respectively set the current <a href="../Playground.html" title="class in playground"><code>Playground</code></a>
  179. instance this GameObject belongs to.</div>
  180. </div>
  181. <div class="col-first even-row-color"><code>&nbsp;</code></div>
  182. <div class="col-second even-row-color"><code><a href="../../gameobjects/GameObject.html#%3Cinit%3E(java.lang.String,playground.Playground,controller.ObjectController,double,double,double,double)" class="member-name-link">GameObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  183. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground,
  184. <a href="../../controller/ObjectController.html" title="class in controller">ObjectController</a>&nbsp;controller,
  185. double&nbsp;x,
  186. double&nbsp;y,
  187. double&nbsp;vx,
  188. double&nbsp;vy)</code></div>
  189. <div class="col-last even-row-color">
  190. <div class="block">Constructor to initialize a GameObject, respectively set the current Playground instance this
  191. GameObject belongs to.</div>
  192. </div>
  193. <div class="col-first odd-row-color"><code>&nbsp;</code></div>
  194. <div class="col-second odd-row-color"><code><a href="../../gameobjects/RectObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,double,double,java.awt.Color)" class="member-name-link">RectObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  195. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;pg,
  196. double&nbsp;x,
  197. double&nbsp;y,
  198. double&nbsp;vx,
  199. double&nbsp;vy,
  200. double&nbsp;width,
  201. double&nbsp;height,
  202. <a href="https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a>&nbsp;color)</code></div>
  203. <div class="col-last odd-row-color">
  204. <div class="block">Initializes the RectObject with a suitable RectArtist for drawing the RectObject.</div>
  205. </div>
  206. <div class="col-first even-row-color"><code>&nbsp;</code></div>
  207. <div class="col-second even-row-color"><code><a href="../../gameobjects/TextObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,java.lang.String,int,java.awt.Color)" class="member-name-link">TextObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  208. <a href="../Playground.html" title="class in playground">Playground</a>&nbsp;playground,
  209. double&nbsp;x,
  210. double&nbsp;y,
  211. double&nbsp;vx,
  212. double&nbsp;vy,
  213. <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;text,
  214. int&nbsp;size,
  215. <a href="https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a>&nbsp;textColor)</code></div>
  216. <div class="col-last even-row-color">
  217. <div class="block">Constructor.</div>
  218. </div>
  219. </div>
  220. </section>
  221. </li>
  222. <li>
  223. <section class="detail" id="playground">
  224. <h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../package-summary.html">playground</a></h2>
  225. <div class="caption"><span>Subclasses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../package-summary.html">playground</a></span></div>
  226. <div class="summary-table three-column-summary">
  227. <div class="table-header col-first">Modifier and Type</div>
  228. <div class="table-header col-second">Class</div>
  229. <div class="table-header col-last">Description</div>
  230. <div class="col-first even-row-color"><code>class&nbsp;</code></div>
  231. <div class="col-second even-row-color"><code><a href="../Level1.html" class="type-name-link" title="class in playground">Level1</a></code></div>
  232. <div class="col-last even-row-color">
  233. <div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a boring start message</div>
  234. </div>
  235. <div class="col-first odd-row-color"><code>class&nbsp;</code></div>
  236. <div class="col-second odd-row-color"><code><a href="../Level2.html" class="type-name-link" title="class in playground">Level2</a></code></div>
  237. <div class="col-last odd-row-color">
  238. <div class="block">extends extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a different startup message.</div>
  239. </div>
  240. <div class="col-first even-row-color"><code>class&nbsp;</code></div>
  241. <div class="col-second even-row-color"><code><a href="../Level3.html" class="type-name-link" title="class in playground">Level3</a></code></div>
  242. <div class="col-last even-row-color">
  243. <div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a ZigZack move of the enemies in
  244. <code>Level3.createSingleEnemy(String, double, double, double, double, ObjectController, double)</code> and
  245. sets a different <code>Level3.getStartupMessage()</code>.</div>
  246. </div>
  247. <div class="col-first odd-row-color"><code>class&nbsp;</code></div>
  248. <div class="col-second odd-row-color"><code><a href="../Level4.html" class="type-name-link" title="class in playground">Level4</a></code></div>
  249. <div class="col-last odd-row-color">
  250. <div class="block">extends extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a>
  251. Hit aliens twice to kill them
  252. they say AUA when not destroyed
  253. </div>
  254. </div>
  255. <div class="col-first even-row-color"><code>class&nbsp;</code></div>
  256. <div class="col-second even-row-color"><code><a href="../Level5.html" class="type-name-link" title="class in playground">Level5</a></code></div>
  257. <div class="col-last even-row-color">&nbsp;</div>
  258. <div class="col-first odd-row-color"><code>class&nbsp;</code></div>
  259. <div class="col-second odd-row-color"><code><a href="../Level6.html" class="type-name-link" title="class in playground">Level6</a></code></div>
  260. <div class="col-last odd-row-color">&nbsp;</div>
  261. <div class="col-first even-row-color"><code>class&nbsp;</code></div>
  262. <div class="col-second even-row-color"><code><a href="../Level7.html" class="type-name-link" title="class in playground">Level7</a></code></div>
  263. <div class="col-last even-row-color">&nbsp;</div>
  264. <div class="col-first odd-row-color"><code>class&nbsp;</code></div>
  265. <div class="col-second odd-row-color"><code><a href="../LevelBoss.html" class="type-name-link" title="class in playground">LevelBoss</a></code></div>
  266. <div class="col-last odd-row-color">
  267. <div class="block">Class that realizes all the game logic of a very simple game level.</div>
  268. </div>
  269. <div class="col-first even-row-color"><code>class&nbsp;</code></div>
  270. <div class="col-second even-row-color"><code><a href="../LevelHitTwice.html" class="type-name-link" title="class in playground">LevelHitTwice</a></code></div>
  271. <div class="col-last even-row-color">
  272. <div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with 10 enemies that need two shots each to be destroyed.</div>
  273. </div>
  274. <div class="col-first odd-row-color"><code>class&nbsp;</code></div>
  275. <div class="col-second odd-row-color"><code><a href="../LevelWithBox.html" class="type-name-link" title="class in playground">LevelWithBox</a></code></div>
  276. <div class="col-last odd-row-color">&nbsp;</div>
  277. <div class="col-first even-row-color"><code>class&nbsp;</code></div>
  278. <div class="col-second even-row-color"><code><a href="../SpaceInvadersLevel.html" class="type-name-link" title="class in playground">SpaceInvadersLevel</a></code></div>
  279. <div class="col-last even-row-color">
  280. <div class="block">Class that realizes all the game logic of a very simple game level.</div>
  281. </div>
  282. <div class="col-first odd-row-color"><code>class&nbsp;</code></div>
  283. <div class="col-second odd-row-color"><code><a href="../SpaceInvadersLevelAua.html" class="type-name-link" title="class in playground">SpaceInvadersLevelAua</a></code></div>
  284. <div class="col-last odd-row-color">&nbsp;</div>
  285. </div>
  286. </section>
  287. </li>
  288. <li>
  289. <section class="detail" id="ui">
  290. <h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../ui/package-summary.html">ui</a></h2>
  291. <div class="caption"><span>Methods in <a href="../../ui/package-summary.html">ui</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
  292. <div class="summary-table three-column-summary">
  293. <div class="table-header col-first">Modifier and Type</div>
  294. <div class="table-header col-second">Method</div>
  295. <div class="table-header col-last">Description</div>
  296. <div class="col-first even-row-color"><code>void</code></div>
  297. <div class="col-second even-row-color"><span class="type-name-label">GameUI.</span><code><a href="../../ui/GameUI.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a>&nbsp;pg)</code></div>
  298. <div class="col-last even-row-color">&nbsp;</div>
  299. </div>
  300. </section>
  301. </li>
  302. </ul>
  303. </section>
  304. </main>
  305. </div>
  306. </div>
  307. </body>
  308. </html>