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.

162 lines
11 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <!DOCTYPE HTML>
  2. <html lang="de">
  3. <head>
  4. <!-- Generated by javadoc (17) on Fri Jun 17 12:42:43 CEST 2022 -->
  5. <title>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-06-17">
  9. <meta name="description" content="declaration: package: playground">
  10. <meta name="generator" content="javadoc/PackageWriterImpl">
  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="package-declaration-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 class="nav-bar-cell1-rev">Package</li>
  33. <li>Class</li>
  34. <li><a href="package-use.html">Use</a></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#package">Help</a></li>
  38. </ul>
  39. </div>
  40. <div class="sub-nav">
  41. <div>
  42. <ul class="sub-nav-list">
  43. <li>Package:&nbsp;</li>
  44. <li><a href="#package-description">Description</a>&nbsp;|&nbsp;</li>
  45. <li>Related Packages&nbsp;|&nbsp;</li>
  46. <li><a href="#class-summary">Classes and Interfaces</a></li>
  47. </ul>
  48. </div>
  49. <div class="nav-list-search"><label for="search-input">SEARCH:</label>
  50. <input type="text" id="search-input" value="search" disabled="disabled">
  51. <input type="reset" id="reset-button" value="reset" disabled="disabled">
  52. </div>
  53. </div>
  54. <!-- ========= END OF TOP NAVBAR ========= -->
  55. <span class="skip-nav" id="skip-navbar-top"></span></nav>
  56. </header>
  57. <div class="flex-content">
  58. <main role="main">
  59. <div class="header">
  60. <h1 title="Package playground" class="title">Package playground</h1>
  61. </div>
  62. <hr>
  63. <div class="package-signature">package <span class="element-name">playground</span></div>
  64. <section class="package-description" id="package-description">
  65. <div class="block">The package playground contains all level specific logic and control of level logic.
  66. The structure and general logic (with global and local flags to be stored/used)
  67. is provided in abstract base class <a href="Playground.html" title="class in playground"><code>Playground</code></a>.<br>
  68. Child-classes implement specific logic for one level and game type (e.g. <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a>).<br>
  69. Generally, the base class <a href="Playground.html" title="class in playground"><code>Playground</code></a> supports totally different game types to be implemented.</div>
  70. </section>
  71. <section class="summary">
  72. <ul class="summary-list">
  73. <li>
  74. <div id="class-summary">
  75. <div class="caption"><span>Classes</span></div>
  76. <div class="summary-table two-column-summary">
  77. <div class="table-header col-first">Class</div>
  78. <div class="table-header col-last">Description</div>
  79. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Animation.html" title="class in playground">Animation</a></div>
  80. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  81. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="BreakoutLevel1.html" title="class in playground">BreakoutLevel1</a></div>
  82. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  83. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="BreakoutLevelBase.html" title="class in playground">BreakoutLevelBase</a></div>
  84. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  85. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="BreakoutLevelBaseAdvanced.html" title="class in playground">BreakoutLevelBaseAdvanced</a></div>
  86. <div class="col-last odd-row-color class-summary class-summary-tab2">
  87. <div class="block">Advanced version of abstract <a href="BreakoutLevelBase.html" title="class in playground"><code>BreakoutLevelBase</code></a> providing a complete implementation of
  88. <a href="BreakoutLevelBaseAdvanced.html#prepareLevel(java.lang.String)"><code>BreakoutLevelBaseAdvanced.prepareLevel(String)</code></a>.</div>
  89. </div>
  90. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="HighscoreManager.html" title="class in playground">HighscoreManager</a></div>
  91. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  92. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level1.html" title="class in playground">Level1</a></div>
  93. <div class="col-last odd-row-color class-summary class-summary-tab2">
  94. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a boring start message</div>
  95. </div>
  96. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level2.html" title="class in playground">Level2</a></div>
  97. <div class="col-last even-row-color class-summary class-summary-tab2">
  98. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a different startup message.</div>
  99. </div>
  100. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level3.html" title="class in playground">Level3</a></div>
  101. <div class="col-last odd-row-color class-summary class-summary-tab2">
  102. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a ZigZack move of the enemies in
  103. <code>Level3.createSingleEnemy(String, double, double, double, double, ObjectController, double)</code> and
  104. sets a different <code>Level3.getStartupMessage()</code>.</div>
  105. </div>
  106. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level4.html" title="class in playground">Level4</a></div>
  107. <div class="col-last even-row-color class-summary class-summary-tab2">
  108. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with aliens that need two hits to be destroyed.</div>
  109. </div>
  110. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level5.html" title="class in playground">Level5</a></div>
  111. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  112. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level6.html" title="class in playground">Level6</a></div>
  113. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  114. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level7.html" title="class in playground">Level7</a></div>
  115. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  116. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelBoss.html" title="class in playground">LevelBoss</a></div>
  117. <div class="col-last even-row-color class-summary class-summary-tab2">
  118. <div class="block">Class that realizes all the game logic of a very simple game level.</div>
  119. </div>
  120. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelHitTwice.html" title="class in playground">LevelHitTwice</a></div>
  121. <div class="col-last odd-row-color class-summary class-summary-tab2">
  122. <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>
  123. </div>
  124. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelMovingHitObjects.html" title="class in playground">LevelMovingHitObjects</a></div>
  125. <div class="col-last even-row-color class-summary class-summary-tab2">
  126. <div class="block">Level that creates two RectObjects moving around and if ego is hit by them game is directly lost
  127. (lives = 0).</div>
  128. </div>
  129. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelMovingObjects.html" title="class in playground">LevelMovingObjects</a></div>
  130. <div class="col-last odd-row-color class-summary class-summary-tab2">
  131. <div class="block">This level adds two distracting objects to the canvas that cannot collide but bounce around all the time.</div>
  132. </div>
  133. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelWithBox.html" title="class in playground">LevelWithBox</a></div>
  134. <div class="col-last even-row-color class-summary class-summary-tab2">
  135. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a red box.</div>
  136. </div>
  137. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Music.html" title="class in playground">Music</a></div>
  138. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  139. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Playground.html" title="class in playground">Playground</a></div>
  140. <div class="col-last even-row-color class-summary class-summary-tab2">
  141. <div class="block">Playground represents a level of the game, focusing on the game LOGIC, i.e., not so much on the
  142. graphical representation.</div>
  143. </div>
  144. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="SaveGame.html" title="class in playground">SaveGame</a></div>
  145. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  146. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="SpaceInvadersLevel.html" title="class in playground">SpaceInvadersLevel</a></div>
  147. <div class="col-last even-row-color class-summary class-summary-tab2">
  148. <div class="block">Class that realizes all the game logic of a very simple game level.</div>
  149. </div>
  150. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="SpaceInvadersLevelAua.html" title="class in playground">SpaceInvadersLevelAua</a></div>
  151. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  152. </div>
  153. </div>
  154. </li>
  155. </ul>
  156. </section>
  157. </main>
  158. </div>
  159. </div>
  160. </body>
  161. </html>