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.

157 lines
10 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
3 years ago
  1. <!DOCTYPE HTML>
  2. <html lang="de">
  3. <head>
  4. <!-- Generated by javadoc (17) on Fri Jun 03 15:36:13 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-03">
  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="HighscoreManager.html" title="class in playground">HighscoreManager</a></div>
  86. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  87. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level1.html" title="class in playground">Level1</a></div>
  88. <div class="col-last even-row-color class-summary class-summary-tab2">
  89. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a boring start message</div>
  90. </div>
  91. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level2.html" title="class in playground">Level2</a></div>
  92. <div class="col-last odd-row-color class-summary class-summary-tab2">
  93. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a different startup message.</div>
  94. </div>
  95. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level3.html" title="class in playground">Level3</a></div>
  96. <div class="col-last even-row-color class-summary class-summary-tab2">
  97. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a ZigZack move of the enemies in
  98. <code>Level3.createSingleEnemy(String, double, double, double, double, ObjectController, double)</code> and
  99. sets a different <code>Level3.getStartupMessage()</code>.</div>
  100. </div>
  101. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level4.html" title="class in playground">Level4</a></div>
  102. <div class="col-last odd-row-color class-summary class-summary-tab2">
  103. <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>
  104. </div>
  105. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level5.html" title="class in playground">Level5</a></div>
  106. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  107. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level6.html" title="class in playground">Level6</a></div>
  108. <div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
  109. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level7.html" title="class in playground">Level7</a></div>
  110. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  111. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelBoss.html" title="class in playground">LevelBoss</a></div>
  112. <div class="col-last odd-row-color class-summary class-summary-tab2">
  113. <div class="block">Class that realizes all the game logic of a very simple game level.</div>
  114. </div>
  115. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelHitTwice.html" title="class in playground">LevelHitTwice</a></div>
  116. <div class="col-last even-row-color class-summary class-summary-tab2">
  117. <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>
  118. </div>
  119. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelMovingHitObjects.html" title="class in playground">LevelMovingHitObjects</a></div>
  120. <div class="col-last odd-row-color class-summary class-summary-tab2">
  121. <div class="block">Level that creates two RectObjects moving around and if ego is hit by them game is directly lost
  122. (lives = 0).</div>
  123. </div>
  124. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelMovingObjects.html" title="class in playground">LevelMovingObjects</a></div>
  125. <div class="col-last even-row-color class-summary class-summary-tab2">
  126. <div class="block">This level adds two distracting objects to the canvas that cannot collide but bounce around all the time.</div>
  127. </div>
  128. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelWithBox.html" title="class in playground">LevelWithBox</a></div>
  129. <div class="col-last odd-row-color class-summary class-summary-tab2">
  130. <div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a red box.</div>
  131. </div>
  132. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="Music.html" title="class in playground">Music</a></div>
  133. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  134. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Playground.html" title="class in playground">Playground</a></div>
  135. <div class="col-last odd-row-color class-summary class-summary-tab2">
  136. <div class="block">Playground represents a level of the game, focusing on the game LOGIC, i.e., not so much on the
  137. graphical representation.</div>
  138. </div>
  139. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="SaveGame.html" title="class in playground">SaveGame</a></div>
  140. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  141. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="SpaceInvadersLevel.html" title="class in playground">SpaceInvadersLevel</a></div>
  142. <div class="col-last odd-row-color class-summary class-summary-tab2">
  143. <div class="block">Class that realizes all the game logic of a very simple game level.</div>
  144. </div>
  145. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="SpaceInvadersLevelAua.html" title="class in playground">SpaceInvadersLevelAua</a></div>
  146. <div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
  147. </div>
  148. </div>
  149. </li>
  150. </ul>
  151. </section>
  152. </main>
  153. </div>
  154. </div>
  155. </body>
  156. </html>