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.

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