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

<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 27 21:55:02 CEST 2022 -->
<title>playground</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2022-05-27">
<meta name="description" content="declaration: package: playground">
<meta name="generator" content="javadoc/PackageWriterImpl">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
<script type="text/javascript" src="../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../script-dir/jquery-ui.min.js"></script>
</head>
<body class="package-declaration-page">
<script type="text/javascript">var pathtoroot = "../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../index.html">Overview</a></li>
<li class="nav-bar-cell1-rev">Package</li>
<li>Class</li>
<li><a href="package-use.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html#package">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Package:&nbsp;</li>
<li><a href="#package-description">Description</a>&nbsp;|&nbsp;</li>
<li>Related Packages&nbsp;|&nbsp;</li>
<li><a href="#class-summary">Classes and Interfaces</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Package playground" class="title">Package playground</h1>
</div>
<hr>
<div class="package-signature">package <span class="element-name">playground</span></div>
<section class="package-description" id="package-description">
<div class="block">The package playground contains all level specific logic and control of level logic.
The structure and general logic (with global and local flags to be stored/used)
is provided in abstract base class <a href="Playground.html" title="class in playground"><code>Playground</code></a>.<br>
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>
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>
</section>
<section class="summary">
<ul class="summary-list">
<li>
<div id="class-summary">
<div class="caption"><span>Classes</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Animation.html" title="class in playground">Animation</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="BreakoutLevelBase.html" title="class in playground">BreakoutLevelBase</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="HighscoreManager.html" title="class in playground">HighscoreManager</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level1.html" title="class in playground">Level1</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a boring start message</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level2.html" title="class in playground">Level2</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a different startup message.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level3.html" title="class in playground">Level3</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a ZigZack move of the enemies in
<code>Level3.createSingleEnemy(String, double, double, double, double, ObjectController, double)</code> and
sets a different <code>Level3.getStartupMessage()</code>.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level4.html" title="class in playground">Level4</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<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>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level5.html" title="class in playground">Level5</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Level6.html" title="class in playground">Level6</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Level7.html" title="class in playground">Level7</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelBoss.html" title="class in playground">LevelBoss</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Class that realizes all the game logic of a very simple game level.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelHitTwice.html" title="class in playground">LevelHitTwice</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<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>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelMovingHitObjects.html" title="class in playground">LevelMovingHitObjects</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Level that creates two RectObjects moving around and if ego is hit by them game is directly lost
(lives = 0).</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="LevelMovingObjects.html" title="class in playground">LevelMovingObjects</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">This level adds two distracting objects to the canvas that cannot collide but bounce around all the time.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="LevelWithBox.html" title="class in playground">LevelWithBox</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">extends <a href="SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a red box.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Music.html" title="class in playground">Music</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="Playground.html" title="class in playground">Playground</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Playground represents a level of the game, focusing on the game LOGIC, i.e., not so much on the
graphical representation.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="SaveGame.html" title="class in playground">SaveGame</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="SpaceInvadersLevel.html" title="class in playground">SpaceInvadersLevel</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Class that realizes all the game logic of a very simple game level.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="SpaceInvadersLevelAua.html" title="class in playground">SpaceInvadersLevelAua</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">&nbsp;</div>
</div>
</div>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>