Browse Source

hausaufgabe 5 gemacht :)

master
fdai7222 3 years ago
parent
commit
59431ef6a8
  1. 2
      spaceinvaders/GameProject/bin/.gitignore
  2. BIN
      spaceinvaders/GameProject/bin/playground/LevelMovingObjects.class
  3. BIN
      spaceinvaders/GameProject/bin/playground/SpaceInvadersLevelTest.class
  4. 154
      spaceinvaders/GameProject/doc/allclasses-index.html
  5. 19
      spaceinvaders/GameProject/doc/allpackages-index.html
  6. 178
      spaceinvaders/GameProject/doc/controller/ReboundController.html
  7. 57
      spaceinvaders/GameProject/doc/controller/class-use/ReboundController.html
  8. 42
      spaceinvaders/GameProject/doc/controller/package-summary.html
  9. 26
      spaceinvaders/GameProject/doc/controller/package-tree.html
  10. 56
      spaceinvaders/GameProject/doc/controller/package-use.html
  11. 6
      spaceinvaders/GameProject/doc/element-list
  12. 17
      spaceinvaders/GameProject/doc/help-doc.html
  13. 87
      spaceinvaders/GameProject/doc/index-files/index-1.html
  14. 21
      spaceinvaders/GameProject/doc/index-files/index-2.html
  15. 84
      spaceinvaders/GameProject/doc/index-files/index-3.html
  16. 81
      spaceinvaders/GameProject/doc/index.html
  17. 42
      spaceinvaders/GameProject/doc/jquery-ui.overrides.css
  18. 2
      spaceinvaders/GameProject/doc/member-search-index.js
  19. 85
      spaceinvaders/GameProject/doc/overview-tree.html
  20. 2
      spaceinvaders/GameProject/doc/package-search-index.js
  21. 42
      spaceinvaders/GameProject/doc/script.js
  22. 34
      spaceinvaders/GameProject/doc/search.js
  23. 2
      spaceinvaders/GameProject/doc/tag-search-index.js
  24. 2
      spaceinvaders/GameProject/doc/type-search-index.js
  25. 87
      spaceinvaders/GameProject/log/log4j.log
  26. 17
      spaceinvaders/GameProject/src/controller/ReboundController.java
  27. 13
      spaceinvaders/GameProject/src/playground/LevelMovingObjects.java

2
spaceinvaders/GameProject/bin/.gitignore

@ -0,0 +1,2 @@
/playground/
/controller/

BIN
spaceinvaders/GameProject/bin/playground/LevelMovingObjects.class

BIN
spaceinvaders/GameProject/bin/playground/SpaceInvadersLevelTest.class

154
spaceinvaders/GameProject/doc/allclasses-index.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>All Classes and Interfaces</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="class index">
<meta name="generator" content="javadoc/AllClassesIndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@ -28,8 +28,7 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li><a href="controller/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
@ -56,152 +55,7 @@ loadScripts(document, 'script');</script>
<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 all-classes-table all-classes-table-tab2"><a href="gameobjects/AnimatedGameobject.html" title="class in gameobjects">AnimatedGameobject</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="playground/Animation.html" title="class in playground">Animation</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="rendering/AnimationArtist.html" title="class in rendering">AnimationArtist</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="rendering/Artist.html" title="class in rendering">Artist</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="rendering/CircleArtist.html" title="class in rendering">CircleArtist</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="collider/CircleCollider.html" title="class in collider">CircleCollider</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">Collider for round objects</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="collider/Collider.html" title="class in collider">Collider</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">abstract base class for all Colliders to detect collisions between GameObjects</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="controller/CollisionAwareEgoController.html" title="class in controller">CollisionAwareEgoController</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">An EgoController which cannot move through obstacle objects (is collission aware).</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="controller/EgoController.html" title="class in controller">EgoController</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">Controller using key events for up, down, left, right and space (shooting) to control the ego
object behavior.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="gameobjects/EgoObject.html" title="class in gameobjects">EgoObject</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="controller/EnemyController.html" title="class in controller">EnemyController</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">This class controls the space invaders.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="gameobjects/FallingStar.html" title="class in gameobjects">FallingStar</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="controller/FallingStarController.html" title="class in controller">FallingStarController</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">Controls background stars.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="base/GameLoop.html" title="class in base">GameLoop</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">Main class starting any game, contains main().</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="gameobjects/GameObject.html" title="class in gameobjects">GameObject</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">The class <a href="gameobjects/GameObject.html" title="class in gameobjects"><code>GameObject</code></a> represents a (possibly animated) object appearing in a level of the
game.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="ui/GameUI.html" title="class in ui">GameUI</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">creates the game UI JFrame containing a canvas (see class <code>GamePanel</code>)) for the levels to
paint the games.</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/HighscoreManager.html" title="class in playground">HighscoreManager</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="playground/Level1.html" title="class in playground">Level1</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">extends <a href="playground/SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a boring start message</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/Level2.html" title="class in playground">Level2</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">extends extends <a href="playground/SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a different startup message.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="playground/Level3.html" title="class in playground">Level3</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">extends <a href="playground/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 all-classes-table all-classes-table-tab2"><a href="playground/Level4.html" title="class in playground">Level4</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">extends extends <a href="playground/SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a>
Hit aliens twice to kill them
they say AUA when not destroyed
</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="playground/Level5.html" title="class in playground">Level5</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/Level6.html" title="class in playground">Level6</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="playground/Level7.html" title="class in playground">Level7</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/LevelBoss.html" title="class in playground">LevelBoss</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-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 all-classes-table all-classes-table-tab2"><a href="playground/LevelHitTwice.html" title="class in playground">LevelHitTwice</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">extends <a href="playground/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 all-classes-table all-classes-table-tab2"><a href="playground/LevelWithBox.html" title="class in playground">LevelWithBox</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">extends <a href="playground/SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a red box.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="controller/LimitedTimeController.html" title="class in controller">LimitedTimeController</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">Controls and abject that is deleted after a lifetime specified in the constructor, and when it
leaves the display.</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="controller/MineController.html" title="class in controller">MineController</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="base/MultiLevelGame.html" title="class in base">MultiLevelGame</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/Music.html" title="class in playground">Music</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="controller/ObjectController.html" title="class in controller">ObjectController</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">Class that controls the LOGICAL behavior of an object independently of how it is displayed or
drawn.</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/Playground.html" title="class in playground">Playground</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-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 all-classes-table all-classes-table-tab2"><a href="rendering/RectArtist.html" title="class in rendering">RectArtist</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="collider/RectCollider.html" title="class in collider">RectCollider</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">a <a href="collider/Collider.html" title="class in collider"><code>Collider</code></a> for Rectangles, usually used for <a href="gameobjects/RectObject.html" title="class in gameobjects"><code>RectObject</code></a> instances.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="gameobjects/RectObject.html" title="class in gameobjects">RectObject</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">A rectangle object.</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/SaveGame.html" title="class in playground">SaveGame</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="controller/SimpleShotController.html" title="class in controller">SimpleShotController</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="playground/SpaceInvadersLevel.html" title="class in playground">SpaceInvadersLevel</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-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 all-classes-table all-classes-table-tab2"><a href="playground/SpaceInvadersLevelAua.html" title="class in playground">SpaceInvadersLevelAua</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="rendering/TextArtist.html" title="class in rendering">TextArtist</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">
<div class="block">Rendering an object as a text of a specified color, size and font.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="gameobjects/TextObject.html" title="class in gameobjects">TextObject</a></div>
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2">
<div class="block">Convenience Class subclassing <a href="gameobjects/GameObject.html" title="class in gameobjects"><code>GameObject</code></a>, directly instanciating <a href="rendering/TextArtist.html" title="class in rendering"><code>TextArtist</code></a> a
subclass of <a href="rendering/Artist.html" title="class in rendering"><code>Artist</code></a> that draws a text.</div>
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="controller/ZickZackController.html" title="class in controller">ZickZackController</a></div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="controller/ReboundController.html" title="class in controller">ReboundController</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab2">&nbsp;</div>
</div>
</div>

19
spaceinvaders/GameProject/doc/allpackages-index.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>All Packages</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="package index">
<meta name="generator" content="javadoc/AllPackagesIndexWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@ -28,8 +28,7 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li><a href="controller/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
@ -55,23 +54,11 @@ loadScripts(document, 'script');</script>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="base/package-summary.html">base</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="collider/package-summary.html">collider</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="controller/package-summary.html">controller</a></div>
<div class="col-last even-row-color">
<div class="block">The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.</div>
</div>
<div class="col-first odd-row-color"><a href="gameobjects/package-summary.html">gameobjects</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="playground/package-summary.html">playground</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="rendering/package-summary.html">rendering</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><a href="ui/package-summary.html">ui</a></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</main>
</div>

178
spaceinvaders/GameProject/doc/controller/ReboundController.html

@ -0,0 +1,178 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>ReboundController</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-18">
<meta name="description" content="declaration: package: controller, class: ReboundController">
<meta name="generator" content="javadoc/ClassWriterImpl">
<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="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
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="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/ReboundController.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#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</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">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">controller</a></div>
<h1 title="Class ReboundController" class="title">Class ReboundController</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">controller.ObjectController
<div class="inheritance">controller.ReboundController</div>
</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">ReboundController</span>
<span class="extends-implements">extends controller.ObjectController</span></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">ReboundController</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateObject()" class="member-name-link">updateObject</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Is called once every game time step by the game itself.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-controller.ObjectController">Methods inherited from class&nbsp;controller.ObjectController</h3>
<code>applySpeedVector, getPlayground, getTimestep, getVX, getVY, getX, getY, setDummy, setObject, setPlayground, setVX, setVY, setX, setY</code></div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;()">
<h3>ReboundController</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">ReboundController</span>()</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="updateObject()">
<h3>updateObject</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">updateObject</span>()</div>
<div class="block"><span class="descfrm-type-label">Description copied from class:&nbsp;<code>controller.ObjectController</code></span></div>
<div class="block">Is called once every game time step by the game itself. NEVER call this directly, not
necessary!<br>
The method can do whatever it likes, including nothing. The attribute <code>ObjectController.gameObject</code>
contains a reference to the controlled object, which allows access to the Playground the object
belongs to (useful for getting the pixel size in x and y of the playing field.<br>
<strong>Recommended:</strong> when implementing this method, call at the end
<code>ObjectController.applySpeedVector()</code> method. This is a helper method that sets the new x,y coordinates
for the <code>ObjectController.gameObject</code> correctly.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code>updateObject</code>&nbsp;in class&nbsp;<code>controller.ObjectController</code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
</div>
</div>
</body>
</html>

57
spaceinvaders/GameProject/doc/controller/class-use/ReboundController.html

@ -0,0 +1,57 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>Uses of Class controller.ReboundController</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-18">
<meta name="description" content="use: package: controller, class: ReboundController">
<meta name="generator" content="javadoc/ClassUseWriter">
<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="class-use-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="../package-summary.html">Package</a></li>
<li><a href="../ReboundController.html" title="class in controller">Class</a></li>
<li class="nav-bar-cell1-rev">Use</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#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<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="Uses of Class controller.ReboundController" class="title">Uses of Class<br>controller.ReboundController</h1>
</div>
No usage of controller.ReboundController</main>
</div>
</div>
</body>
</html>

42
spaceinvaders/GameProject/doc/controller/package-summary.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>controller</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="declaration: package: controller">
<meta name="generator" content="javadoc/PackageWriterImpl">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
@ -28,7 +28,6 @@ loadScripts(document, 'script');</script>
<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>
@ -64,12 +63,12 @@ loadScripts(document, 'script');</script>
<section class="package-description" id="package-description">
<div class="block">The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties. Object controllers react to user actions/inputs
and govern for example the movement of <a href="../gameobjects/GameObject.html" title="class in gameobjects"><code>GameObject</code></a> instances. They can access
and govern for example the movement of <code>GameObject</code> instances. They can access
their parent objects' properties and, by indirection, the properties and methods of the
associated level. <br>
Controllers should be designed in such a way that they implement behavior that is
level-independent. All level-dependent behavior should be implemented in
<a href="../playground/Playground.html#applyGameLogic()"><code>Playground.applyGameLogic()</code></a>.</div>
<code>Playground.applyGameLogic()</code>.</div>
</section>
<section class="summary">
<ul class="summary-list">
@ -79,38 +78,7 @@ loadScripts(document, 'script');</script>
<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="CollisionAwareEgoController.html" title="class in controller">CollisionAwareEgoController</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">An EgoController which cannot move through obstacle objects (is collission aware).</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="EgoController.html" title="class in controller">EgoController</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">Controller using key events for up, down, left, right and space (shooting) to control the ego
object behavior.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="EnemyController.html" title="class in controller">EnemyController</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">This class controls the space invaders.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="FallingStarController.html" title="class in controller">FallingStarController</a></div>
<div class="col-last odd-row-color class-summary class-summary-tab2">
<div class="block">Controls background stars.</div>
</div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="LimitedTimeController.html" title="class in controller">LimitedTimeController</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Controls and abject that is deleted after a lifetime specified in the constructor, and when it
leaves the display.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="MineController.html" title="class in controller">MineController</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="ObjectController.html" title="class in controller">ObjectController</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">
<div class="block">Class that controls the LOGICAL behavior of an object independently of how it is displayed or
drawn.</div>
</div>
<div class="col-first odd-row-color class-summary class-summary-tab2"><a href="SimpleShotController.html" title="class in controller">SimpleShotController</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="ZickZackController.html" title="class in controller">ZickZackController</a></div>
<div class="col-first even-row-color class-summary class-summary-tab2"><a href="ReboundController.html" title="class in controller">ReboundController</a></div>
<div class="col-last even-row-color class-summary class-summary-tab2">&nbsp;</div>
</div>
</div>

26
spaceinvaders/GameProject/doc/controller/package-tree.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>controller Class Hierarchy</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="tree: package: controller">
<meta name="generator" content="javadoc/PackageTreeWriter">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
@ -28,7 +28,6 @@ loadScripts(document, 'script');</script>
<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><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
@ -50,32 +49,15 @@ loadScripts(document, 'script');</script>
<main role="main">
<div class="header">
<h1 class="title">Hierarchy For Package controller</h1>
<span class="package-hierarchy-label">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="../overview-tree.html">All Packages</a></li>
</ul>
</div>
<section class="hierarchy">
<h2 title="Class Hierarchy">Class Hierarchy</h2>
<ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a>
<ul>
<li class="circle">controller.<a href="ObjectController.html" class="type-name-link" title="class in controller">ObjectController</a>
<ul>
<li class="circle">controller.<a href="EgoController.html" class="type-name-link" title="class in controller">EgoController</a>
<li class="circle">controller.ObjectController
<ul>
<li class="circle">controller.<a href="CollisionAwareEgoController.html" class="type-name-link" title="class in controller">CollisionAwareEgoController</a></li>
</ul>
</li>
<li class="circle">controller.<a href="EnemyController.html" class="type-name-link" title="class in controller">EnemyController</a>
<ul>
<li class="circle">controller.<a href="ZickZackController.html" class="type-name-link" title="class in controller">ZickZackController</a></li>
</ul>
</li>
<li class="circle">controller.<a href="FallingStarController.html" class="type-name-link" title="class in controller">FallingStarController</a></li>
<li class="circle">controller.<a href="LimitedTimeController.html" class="type-name-link" title="class in controller">LimitedTimeController</a></li>
<li class="circle">controller.<a href="MineController.html" class="type-name-link" title="class in controller">MineController</a></li>
<li class="circle">controller.<a href="SimpleShotController.html" class="type-name-link" title="class in controller">SimpleShotController</a></li>
<li class="circle">controller.<a href="ReboundController.html" class="type-name-link" title="class in controller">ReboundController</a></li>
</ul>
</li>
</ul>

56
spaceinvaders/GameProject/doc/controller/package-use.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>Uses of Package controller</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="use: package: controller">
<meta name="generator" content="javadoc/PackageUseWriter">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
@ -28,7 +28,6 @@ loadScripts(document, 'script');</script>
<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><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="nav-bar-cell1-rev">Use</li>
@ -51,51 +50,14 @@ loadScripts(document, 'script');</script>
<div class="header">
<h1 title="Uses of Package controller" class="title">Uses of Package<br>controller</h1>
</div>
<div class="caption"><span>Packages that use <a href="package-summary.html">controller</a></span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="#collider">collider</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#controller">controller</a></div>
<div class="col-last odd-row-color">
<div class="block">The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.</div>
</div>
<div class="col-first even-row-color"><a href="#gameobjects">gameobjects</a></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<section class="package-uses">
<ul class="block-list">
<li>
<section class="detail" id="collider">
<div class="caption"><span>Classes in <a href="package-summary.html">controller</a> used by <a href="../collider/package-summary.html">collider</a></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"><a href="class-use/ObjectController.html#collider">ObjectController</a></div>
<div class="col-last even-row-color">
<div class="block">Class that controls the LOGICAL behavior of an object independently of how it is displayed or
drawn.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="controller">
<div class="caption"><span>Classes in <a href="package-summary.html">controller</a> used by <a href="package-summary.html">controller</a></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"><a href="class-use/EgoController.html#controller">EgoController</a></div>
<div class="col-last even-row-color">
<div class="block">Controller using key events for up, down, left, right and space (shooting) to control the ego
object behavior.</div>
</div>
<div class="col-first odd-row-color"><a href="class-use/EnemyController.html#controller">EnemyController</a></div>
<div class="col-last odd-row-color">
<div class="block">This class controls the space invaders.</div>
</div>
<div class="col-first even-row-color"><a href="class-use/ObjectController.html#controller">ObjectController</a></div>
<div class="col-last even-row-color">
<div class="block">Class that controls the LOGICAL behavior of an object independently of how it is displayed or
@ -104,20 +66,6 @@ loadScripts(document, 'script');</script>
</div>
</section>
</li>
<li>
<section class="detail" id="gameobjects">
<div class="caption"><span>Classes in <a href="package-summary.html">controller</a> used by <a href="../gameobjects/package-summary.html">gameobjects</a></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"><a href="class-use/ObjectController.html#gameobjects">ObjectController</a></div>
<div class="col-last even-row-color">
<div class="block">Class that controls the LOGICAL behavior of an object independently of how it is displayed or
drawn.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>

6
spaceinvaders/GameProject/doc/element-list

@ -1,7 +1 @@
base
collider
controller
gameobjects
playground
rendering
ui

17
spaceinvaders/GameProject/doc/help-doc.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>API Help</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="help">
<meta name="generator" content="javadoc/HelpWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@ -28,8 +28,7 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li><a href="controller/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
@ -64,13 +63,11 @@ loadScripts(document, 'script');</script>
</li>
<li><a href="#help-pages">Kinds of Pages</a>:
<ul class="help-subtoc">
<li><a href="#overview">Overview</a></li>
<li><a href="#package">Package</a></li>
<li><a href="#class">Class or Interface</a></li>
<li><a href="#doc-file">Other Files</a></li>
<li><a href="#use">Use</a></li>
<li><a href="#tree">Tree (Class Hierarchy)</a></li>
<li><a href="#constant-values">Constant Field Values</a></li>
<li><a href="#all-packages">All Packages</a></li>
<li><a href="#all-classes">All Classes and Interfaces</a></li>
<li><a href="#index">Index</a></li>
@ -96,10 +93,6 @@ Starting from the <a href="index.html">Overview</a> page, you can browse the doc
<div class="sub-title">
<h2 id="help-pages">Kinds of Pages</h2>
The following sections describe the different kinds of pages in this collection.
<section class="help-section" id="overview">
<h3>Overview</h3>
<p>The <a href="index.html">Overview</a> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</p>
</section>
<section class="help-section" id="package">
<h3>Package</h3>
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:</p>
@ -162,10 +155,6 @@ The following sections describe the different kinds of pages in this collection.
<li>When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.</li>
</ul>
</section>
<section class="help-section" id="constant-values">
<h3>Constant Field Values</h3>
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
</section>
<section class="help-section" id="all-packages">
<h3>All Packages</h3>
<p>The <a href="allpackages-index.html">All Packages</a> page contains an alphabetic index of all packages contained in the documentation.</p>

87
spaceinvaders/GameProject/doc/index-files/index-1.html

@ -1,12 +1,12 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<title>A-Index</title>
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>C-Index</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-13">
<meta name="description" content="index: A">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="index: C">
<meta name="generator" content="javadoc/IndexWriter">
<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">
@ -28,8 +28,7 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li><a href="../controller/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="../overview-tree.html">Tree</a></li>
@ -51,80 +50,16 @@ loadScripts(document, 'script');</script>
<div class="header">
<h1>Index</h1>
</div>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">W</a>&nbsp;<a href="index-19.html">Z</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a>
<h2 class="title" id="I:A">A</h2>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">R</a>&nbsp;<a href="index-3.html">U</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a>
<h2 class="title" id="I:C">C</h2>
<dl class="index">
<dt><a href="../ui/GameUI.html#ACTION_ABOUT" class="member-name-link">ACTION_ABOUT</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_BUTTON" class="member-name-link">ACTION_BUTTON</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_LOAD" class="member-name-link">ACTION_LOAD</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_NEW" class="member-name-link">ACTION_NEW</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_PAUSE" class="member-name-link">ACTION_PAUSE</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_QUIT" class="member-name-link">ACTION_QUIT</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_RESET" class="member-name-link">ACTION_RESET</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#ACTION_SAVE" class="member-name-link">ACTION_SAVE</a> - Static variable in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../ui/GameUI.html#actionPerformed(java.awt.event.ActionEvent)" class="member-name-link">actionPerformed(ActionEvent)</a> - Method in class ui.<a href="../ui/GameUI.html" title="class in ui">GameUI</a></dt>
<dt><a href="../controller/package-summary.html">controller</a> - package controller</dt>
<dd>
<div class="block">interface implementation of ActionListener to respond to GUI element actions.</div>
<div class="block">The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.</div>
</dd>
<dt><a href="../gameobjects/GameObject.html#addArtist(rendering.Artist)" class="member-name-link">addArtist(Artist)</a> - Method in class gameobjects.<a href="../gameobjects/GameObject.html" title="class in gameobjects">GameObject</a></dt>
<dd>
<div class="block">Sets the artist to be used for drawing the object onto visible canvas area.</div>
</dd>
<dt><a href="../gameobjects/GameObject.html#addCollider(collider.Collider)" class="member-name-link">addCollider(Collider)</a> - Method in class gameobjects.<a href="../gameobjects/GameObject.html" title="class in gameobjects">GameObject</a></dt>
<dd>
<div class="block">saves the collider in the internal list of Colliders to be used for this GameObject.</div>
</dd>
<dt><a href="../gameobjects/GameObject.html#addController(controller.ObjectController)" class="member-name-link">addController(ObjectController)</a> - Method in class gameobjects.<a href="../gameobjects/GameObject.html" title="class in gameobjects">GameObject</a></dt>
<dd>
<div class="block">Sets the controller to use for this GameObject's logical behavior.</div>
</dd>
<dt><a href="../playground/Playground.html#addObject(gameobjects.GameObject)" class="member-name-link">addObject(GameObject)</a> - Method in class playground.<a href="../playground/Playground.html" title="class in playground">Playground</a></dt>
<dd>
<div class="block">Adds a graphics object to a level.</div>
</dd>
<dt><a href="../playground/Playground.html#addObjectNow(gameobjects.GameObject)" class="member-name-link">addObjectNow(GameObject)</a> - Method in class playground.<a href="../playground/Playground.html" title="class in playground">Playground</a></dt>
<dd>
<div class="block">Adds a graphics object to a level.</div>
</dd>
<dt><a href="../gameobjects/AnimatedGameobject.html" class="type-name-link" title="class in gameobjects">AnimatedGameobject</a> - Class in <a href="../gameobjects/package-summary.html">gameobjects</a></dt>
<dd>&nbsp;</dd>
<dt><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(String, Playground, double, double, double, double, double, Animation, double, String)</a> - Constructor for class gameobjects.<a href="../gameobjects/AnimatedGameobject.html" title="class in gameobjects">AnimatedGameobject</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../playground/Animation.html" class="type-name-link" title="class in playground">Animation</a> - Class in <a href="../playground/package-summary.html">playground</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../playground/Animation.html#%3Cinit%3E(java.lang.String)" class="member-name-link">Animation(String)</a> - Constructor for class playground.<a href="../playground/Animation.html" title="class in playground">Animation</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../rendering/AnimationArtist.html" class="type-name-link" title="class in rendering">AnimationArtist</a> - Class in <a href="../rendering/package-summary.html">rendering</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../rendering/AnimationArtist.html#%3Cinit%3E(gameobjects.GameObject,playground.Animation,double,java.lang.String,double)" class="member-name-link">AnimationArtist(GameObject, Animation, double, String, double)</a> - Constructor for class rendering.<a href="../rendering/AnimationArtist.html" title="class in rendering">AnimationArtist</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../playground/Playground.html#applyGameLogic()" class="member-name-link">applyGameLogic()</a> - Method in class playground.<a href="../playground/Playground.html" title="class in playground">Playground</a></dt>
<dd>
<div class="block">Method meant to be filled with own code, handles the entore game logic (collision checks, timed
events, ...).</div>
</dd>
<dt><a href="../playground/SpaceInvadersLevel.html#applyGameLogic()" class="member-name-link">applyGameLogic()</a> - Method in class playground.<a href="../playground/SpaceInvadersLevel.html" title="class in playground">SpaceInvadersLevel</a></dt>
<dd>
<div class="block">applies the logic of the level: For now, this is just about deleting shots that are leaving the
screen and calling methods 'actionIf..' in case objects collide.</div>
</dd>
<dt><a href="../controller/ObjectController.html#applySpeedVector()" class="member-name-link">applySpeedVector()</a> - Method in class controller.<a href="../controller/ObjectController.html" title="class in controller">ObjectController</a></dt>
<dd>
<div class="block">Convenience method: simply moves the object forward one step from its present position, using
its present speed.</div>
</dd>
<dt><a href="../rendering/Artist.html" class="type-name-link" title="class in rendering">Artist</a> - Class in <a href="../rendering/package-summary.html">rendering</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">W</a>&nbsp;<a href="index-19.html">Z</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a></main>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">R</a>&nbsp;<a href="index-3.html">U</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a></main>
</div>
</div>
</body>

21
spaceinvaders/GameProject/doc/index-files/index-2.html

@ -1,12 +1,12 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<title>B-Index</title>
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>R-Index</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-13">
<meta name="description" content="index: B">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="index: R">
<meta name="generator" content="javadoc/IndexWriter">
<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">
@ -28,8 +28,7 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li><a href="../controller/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="../overview-tree.html">Tree</a></li>
@ -51,13 +50,15 @@ loadScripts(document, 'script');</script>
<div class="header">
<h1>Index</h1>
</div>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">W</a>&nbsp;<a href="index-19.html">Z</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a>
<h2 class="title" id="I:B">B</h2>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">R</a>&nbsp;<a href="index-3.html">U</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a>
<h2 class="title" id="I:R">R</h2>
<dl class="index">
<dt><a href="../base/package-summary.html">base</a> - package base</dt>
<dt><a href="../controller/ReboundController.html" class="type-name-link" title="class in controller">ReboundController</a> - Class in <a href="../controller/package-summary.html">controller</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../controller/ReboundController.html#%3Cinit%3E()" class="member-name-link">ReboundController()</a> - Constructor for class controller.<a href="../controller/ReboundController.html" title="class in controller">ReboundController</a></dt>
<dd>&nbsp;</dd>
</dl>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">W</a>&nbsp;<a href="index-19.html">Z</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a></main>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">R</a>&nbsp;<a href="index-3.html">U</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a></main>
</div>
</div>
</body>

84
spaceinvaders/GameProject/doc/index-files/index-3.html

@ -1,12 +1,12 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<title>C-Index</title>
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>U-Index</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-13">
<meta name="description" content="index: C">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="index: U">
<meta name="generator" content="javadoc/IndexWriter">
<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">
@ -28,8 +28,7 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li><a href="../controller/package-summary.html">Package</a></li>
<li>Class</li>
<li>Use</li>
<li><a href="../overview-tree.html">Tree</a></li>
@ -51,78 +50,13 @@ loadScripts(document, 'script');</script>
<div class="header">
<h1>Index</h1>
</div>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">W</a>&nbsp;<a href="index-19.html">Z</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a>
<h2 class="title" id="I:C">C</h2>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">R</a>&nbsp;<a href="index-3.html">U</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a>
<h2 class="title" id="I:U">U</h2>
<dl class="index">
<dt><a href="../collider/CircleCollider.html#checkCollisionCircCirc(collider.Collider)" class="member-name-link">checkCollisionCircCirc(Collider)</a> - Method in class collider.<a href="../collider/CircleCollider.html" title="class in collider">CircleCollider</a></dt>
<dd>
<div class="block">calculates the collission of this with other collider</div>
</dd>
<dt><a href="../collider/RectCollider.html#checkCollisionRectCirc(collider.Collider)" class="member-name-link">checkCollisionRectCirc(Collider)</a> - Method in class collider.<a href="../collider/RectCollider.html" title="class in collider">RectCollider</a></dt>
<dd>
<div class="block">checks collision with other Collider, which needs to be a CircleCollider</div>
</dd>
<dt><a href="../collider/RectCollider.html#checkCollisionRectRect(collider.Collider)" class="member-name-link">checkCollisionRectRect(Collider)</a> - Method in class collider.<a href="../collider/RectCollider.html" title="class in collider">RectCollider</a></dt>
<dd>
<div class="block">checks collision with other Collider, which needs to be a RectCollider, too.</div>
</dd>
<dt><a href="../rendering/CircleArtist.html" class="type-name-link" title="class in rendering">CircleArtist</a> - Class in <a href="../rendering/package-summary.html">rendering</a></dt>
<dt><a href="../controller/ReboundController.html#updateObject()" class="member-name-link">updateObject()</a> - Method in class controller.<a href="../controller/ReboundController.html" title="class in controller">ReboundController</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../rendering/CircleArtist.html#%3Cinit%3E(gameobjects.GameObject)" class="member-name-link">CircleArtist(GameObject)</a> - Constructor for class rendering.<a href="../rendering/CircleArtist.html" title="class in rendering">CircleArtist</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../rendering/CircleArtist.html#%3Cinit%3E(gameobjects.GameObject,double,java.awt.Color)" class="member-name-link">CircleArtist(GameObject, double, Color)</a> - Constructor for class rendering.<a href="../rendering/CircleArtist.html" title="class in rendering">CircleArtist</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../collider/CircleCollider.html" class="type-name-link" title="class in collider">CircleCollider</a> - Class in <a href="../collider/package-summary.html">collider</a></dt>
<dd>
<div class="block">Collider for round objects</div>
</dd>
<dt><a href="../collider/CircleCollider.html#%3Cinit%3E(java.lang.String,gameobjects.GameObject,double)" class="member-name-link">CircleCollider(String, GameObject, double)</a> - Constructor for class collider.<a href="../collider/CircleCollider.html" title="class in collider">CircleCollider</a></dt>
<dd>
<div class="block">Constructor which sets the radius to be respected for collisions.</div>
</dd>
<dt><a href="../playground/HighscoreManager.html#closeFile()" class="member-name-link">closeFile()</a> - Method in class playground.<a href="../playground/HighscoreManager.html" title="class in playground">HighscoreManager</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../playground/Playground.html#collectObjects(java.lang.String,boolean)" class="member-name-link">collectObjects(String, boolean)</a> - Method in class playground.<a href="../playground/Playground.html" title="class in playground">Playground</a></dt>
<dd>
<div class="block">Puts objects with a certain substring in their name into a LinkedLisrt and returns them.</div>
</dd>
<dt><a href="../collider/package-summary.html">collider</a> - package collider</dt>
<dd>&nbsp;</dd>
<dt><a href="../collider/Collider.html" class="type-name-link" title="class in collider">Collider</a> - Class in <a href="../collider/package-summary.html">collider</a></dt>
<dd>
<div class="block">abstract base class for all Colliders to detect collisions between GameObjects</div>
</dd>
<dt><a href="../collider/Collider.html#%3Cinit%3E(java.lang.String,gameobjects.GameObject)" class="member-name-link">Collider(String, GameObject)</a> - Constructor for class collider.<a href="../collider/Collider.html" title="class in collider">Collider</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../collider/CircleCollider.html#collidesWith(collider.Collider)" class="member-name-link">collidesWith(Collider)</a> - Method in class collider.<a href="../collider/CircleCollider.html" title="class in collider">CircleCollider</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../collider/Collider.html#collidesWith(collider.Collider)" class="member-name-link">collidesWith(Collider)</a> - Method in class collider.<a href="../collider/Collider.html" title="class in collider">Collider</a></dt>
<dd>
<div class="block">checks the collission with another collider instance.</div>
</dd>
<dt><a href="../collider/RectCollider.html#collidesWith(collider.Collider)" class="member-name-link">collidesWith(Collider)</a> - Method in class collider.<a href="../collider/RectCollider.html" title="class in collider">RectCollider</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../controller/CollisionAwareEgoController.html" class="type-name-link" title="class in controller">CollisionAwareEgoController</a> - Class in <a href="../controller/package-summary.html">controller</a></dt>
<dd>
<div class="block">An EgoController which cannot move through obstacle objects (is collission aware).</div>
</dd>
<dt><a href="../controller/CollisionAwareEgoController.html#%3Cinit%3E(double)" class="member-name-link">CollisionAwareEgoController(double)</a> - Constructor for class controller.<a href="../controller/CollisionAwareEgoController.html" title="class in controller">CollisionAwareEgoController</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../controller/CollisionAwareEgoController.html#%3Cinit%3E(double,java.io.File)" class="member-name-link">CollisionAwareEgoController(double, File)</a> - Constructor for class controller.<a href="../controller/CollisionAwareEgoController.html" title="class in controller">CollisionAwareEgoController</a></dt>
<dd>&nbsp;</dd>
<dt><a href="../gameobjects/GameObject.html#collisionDetection(gameobjects.GameObject)" class="member-name-link">collisionDetection(GameObject)</a> - Method in class gameobjects.<a href="../gameobjects/GameObject.html" title="class in gameobjects">GameObject</a></dt>
<dd>
<div class="block">Collision detection implemented by iteration through the own list of <a href="../collider/Collider.html" title="class in collider"><code>Collider</code></a>
and calling their <a href="../collider/Collider.html#collidesWith(collider.Collider)"><code>Collider.collidesWith(Collider)</code></a> method to check collision
with the given parameter instance of other <a href="../gameobjects/GameObject.html" title="class in gameobjects"><code>GameObject</code></a>.</div>
</dd>
<dt><a href="../controller/package-summary.html">controller</a> - package controller</dt>
<dd>
<div class="block">The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.</div>
</dd>
</dl>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">H</a>&nbsp;<a href="index-9.html">I</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">O</a>&nbsp;<a href="index-13.html">P</a>&nbsp;<a href="index-14.html">R</a>&nbsp;<a href="index-15.html">S</a>&nbsp;<a href="index-16.html">T</a>&nbsp;<a href="index-17.html">U</a>&nbsp;<a href="index-18.html">W</a>&nbsp;<a href="index-19.html">Z</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a><span class="vertical-separator">|</span><a href="../constant-values.html">Constant&nbsp;Field&nbsp;Values</a></main>
<a href="index-1.html">C</a>&nbsp;<a href="index-2.html">R</a>&nbsp;<a href="index-3.html">U</a>&nbsp;<br><a href="../allclasses-index.html">All&nbsp;Classes&nbsp;and&nbsp;Interfaces</a><span class="vertical-separator">|</span><a href="../allpackages-index.html">All&nbsp;Packages</a></main>
</div>
</div>
</body>

81
spaceinvaders/GameProject/doc/index.html

@ -1,79 +1,26 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<title>Overview</title>
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>Generated Documentation (Untitled)</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-13">
<meta name="description" content="package index">
<meta name="generator" content="javadoc/PackageIndexWriter">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="index redirect">
<meta name="generator" content="javadoc/IndexRedirectWriter">
<link rel="canonical" href="controller/package-summary.html">
<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-index-page">
<script type="text/javascript">var pathtoroot = "./";
loadScripts(document, 'script');</script>
<script type="text/javascript">window.location.replace('controller/package-summary.html')</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
<meta http-equiv="Refresh" content="0;controller/package-summary.html">
</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 class="nav-bar-cell1-rev">Overview</li>
<li>Package</li>
<li>Class</li>
<li>Use</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="index-files/index-1.html">Index</a></li>
<li><a href="help-doc.html#overview">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<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">
</head>
<body class="index-redirect-page">
<main role="main">
<div id="all-packages-table">
<div class="caption"><span>Packages</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color all-packages-table all-packages-table-tab1"><a href="base/package-summary.html">base</a></div>
<div class="col-last even-row-color all-packages-table all-packages-table-tab1">&nbsp;</div>
<div class="col-first odd-row-color all-packages-table all-packages-table-tab1"><a href="collider/package-summary.html">collider</a></div>
<div class="col-last odd-row-color all-packages-table all-packages-table-tab1">&nbsp;</div>
<div class="col-first even-row-color all-packages-table all-packages-table-tab1"><a href="controller/package-summary.html">controller</a></div>
<div class="col-last even-row-color all-packages-table all-packages-table-tab1">
<div class="block">The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.</div>
</div>
<div class="col-first odd-row-color all-packages-table all-packages-table-tab1"><a href="gameobjects/package-summary.html">gameobjects</a></div>
<div class="col-last odd-row-color all-packages-table all-packages-table-tab1">&nbsp;</div>
<div class="col-first even-row-color all-packages-table all-packages-table-tab1"><a href="playground/package-summary.html">playground</a></div>
<div class="col-last even-row-color all-packages-table all-packages-table-tab1">&nbsp;</div>
<div class="col-first odd-row-color all-packages-table all-packages-table-tab1"><a href="rendering/package-summary.html">rendering</a></div>
<div class="col-last odd-row-color all-packages-table all-packages-table-tab1">&nbsp;</div>
<div class="col-first even-row-color all-packages-table all-packages-table-tab1"><a href="ui/package-summary.html">ui</a></div>
<div class="col-last even-row-color all-packages-table all-packages-table-tab1">&nbsp;</div>
</div>
</div>
<noscript>
<p>JavaScript is disabled on your browser.</p>
</noscript>
<p><a href="controller/package-summary.html">controller/package-summary.html</a></p>
</main>
</div>
</div>
</body>
</html>

42
spaceinvaders/GameProject/doc/jquery-ui.overrides.css

@ -1,26 +1,26 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
.ui-state-active,

2
spaceinvaders/GameProject/doc/member-search-index.js
File diff suppressed because it is too large
View File

85
spaceinvaders/GameProject/doc/overview-tree.html

@ -1,11 +1,11 @@
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) on Fri May 13 10:37:40 CEST 2022 -->
<!-- Generated by javadoc (17) on Wed May 18 17:22:01 CEST 2022 -->
<title>Class Hierarchy</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-13">
<meta name="dc.created" content="2022-05-18">
<meta name="description" content="class tree">
<meta name="generator" content="javadoc/TreeWriter">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@ -28,7 +28,6 @@ loadScripts(document, 'script');</script>
<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>Package</li>
<li>Class</li>
<li>Use</li>
@ -52,13 +51,7 @@ loadScripts(document, 'script');</script>
<h1 class="title">Hierarchy For All Packages</h1>
<span class="package-hierarchy-label">Package Hierarchies:</span>
<ul class="horizontal">
<li><a href="base/package-tree.html">base</a>, </li>
<li><a href="collider/package-tree.html">collider</a>, </li>
<li><a href="controller/package-tree.html">controller</a>, </li>
<li><a href="gameobjects/package-tree.html">gameobjects</a>, </li>
<li><a href="playground/package-tree.html">playground</a>, </li>
<li><a href="rendering/package-tree.html">rendering</a>, </li>
<li><a href="ui/package-tree.html">ui</a></li>
<li><a href="controller/package-tree.html">controller</a></li>
</ul>
</div>
<section class="hierarchy">
@ -66,79 +59,11 @@ loadScripts(document, 'script');</script>
<ul>
<li class="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" class="type-name-link external-link" title="class or interface in java.lang">Object</a>
<ul>
<li class="circle">playground.<a href="playground/Animation.html" class="type-name-link" title="class in playground">Animation</a></li>
<li class="circle">rendering.<a href="rendering/Artist.html" class="type-name-link" title="class in rendering">Artist</a>
<li class="circle">controller.ObjectController
<ul>
<li class="circle">rendering.<a href="rendering/AnimationArtist.html" class="type-name-link" title="class in rendering">AnimationArtist</a></li>
<li class="circle">rendering.<a href="rendering/CircleArtist.html" class="type-name-link" title="class in rendering">CircleArtist</a></li>
<li class="circle">rendering.<a href="rendering/RectArtist.html" class="type-name-link" title="class in rendering">RectArtist</a></li>
<li class="circle">rendering.<a href="rendering/TextArtist.html" class="type-name-link" title="class in rendering">TextArtist</a></li>
<li class="circle">controller.<a href="controller/ReboundController.html" class="type-name-link" title="class in controller">ReboundController</a></li>
</ul>
</li>
<li class="circle">collider.<a href="collider/Collider.html" class="type-name-link" title="class in collider">Collider</a>
<ul>
<li class="circle">collider.<a href="collider/CircleCollider.html" class="type-name-link" title="class in collider">CircleCollider</a></li>
<li class="circle">collider.<a href="collider/RectCollider.html" class="type-name-link" title="class in collider">RectCollider</a></li>
</ul>
</li>
<li class="circle">base.<a href="base/GameLoop.html" class="type-name-link" title="class in base">GameLoop</a>
<ul>
<li class="circle">base.<a href="base/MultiLevelGame.html" class="type-name-link" title="class in base">MultiLevelGame</a></li>
</ul>
</li>
<li class="circle">gameobjects.<a href="gameobjects/GameObject.html" class="type-name-link" title="class in gameobjects">GameObject</a>
<ul>
<li class="circle">gameobjects.<a href="gameobjects/AnimatedGameobject.html" class="type-name-link" title="class in gameobjects">AnimatedGameobject</a></li>
<li class="circle">gameobjects.<a href="gameobjects/EgoObject.html" class="type-name-link" title="class in gameobjects">EgoObject</a></li>
<li class="circle">gameobjects.<a href="gameobjects/FallingStar.html" class="type-name-link" title="class in gameobjects">FallingStar</a></li>
<li class="circle">gameobjects.<a href="gameobjects/RectObject.html" class="type-name-link" title="class in gameobjects">RectObject</a></li>
<li class="circle">gameobjects.<a href="gameobjects/TextObject.html" class="type-name-link" title="class in gameobjects">TextObject</a></li>
</ul>
</li>
<li class="circle">ui.<a href="ui/GameUI.html" class="type-name-link" title="class in ui">GameUI</a> (implements java.awt.event.<a href="https://docs.oracle.com/javase/8/docs/api/java/awt/event/ActionListener.html" title="class or interface in java.awt.event" class="external-link">ActionListener</a>)</li>
<li class="circle">playground.<a href="playground/HighscoreManager.html" class="type-name-link" title="class in playground">HighscoreManager</a></li>
<li class="circle">playground.<a href="playground/Music.html" class="type-name-link" title="class in playground">Music</a></li>
<li class="circle">controller.<a href="controller/ObjectController.html" class="type-name-link" title="class in controller">ObjectController</a>
<ul>
<li class="circle">controller.<a href="controller/EgoController.html" class="type-name-link" title="class in controller">EgoController</a>
<ul>
<li class="circle">controller.<a href="controller/CollisionAwareEgoController.html" class="type-name-link" title="class in controller">CollisionAwareEgoController</a></li>
</ul>
</li>
<li class="circle">controller.<a href="controller/EnemyController.html" class="type-name-link" title="class in controller">EnemyController</a>
<ul>
<li class="circle">controller.<a href="controller/ZickZackController.html" class="type-name-link" title="class in controller">ZickZackController</a></li>
</ul>
</li>
<li class="circle">controller.<a href="controller/FallingStarController.html" class="type-name-link" title="class in controller">FallingStarController</a></li>
<li class="circle">controller.<a href="controller/LimitedTimeController.html" class="type-name-link" title="class in controller">LimitedTimeController</a></li>
<li class="circle">controller.<a href="controller/MineController.html" class="type-name-link" title="class in controller">MineController</a></li>
<li class="circle">controller.<a href="controller/SimpleShotController.html" class="type-name-link" title="class in controller">SimpleShotController</a></li>
</ul>
</li>
<li class="circle">playground.<a href="playground/Playground.html" class="type-name-link" title="class in playground">Playground</a>
<ul>
<li class="circle">playground.<a href="playground/SpaceInvadersLevel.html" class="type-name-link" title="class in playground">SpaceInvadersLevel</a>
<ul>
<li class="circle">playground.<a href="playground/Level1.html" class="type-name-link" title="class in playground">Level1</a></li>
<li class="circle">playground.<a href="playground/Level2.html" class="type-name-link" title="class in playground">Level2</a></li>
<li class="circle">playground.<a href="playground/Level3.html" class="type-name-link" title="class in playground">Level3</a></li>
<li class="circle">playground.<a href="playground/Level4.html" class="type-name-link" title="class in playground">Level4</a></li>
<li class="circle">playground.<a href="playground/LevelBoss.html" class="type-name-link" title="class in playground">LevelBoss</a></li>
<li class="circle">playground.<a href="playground/LevelHitTwice.html" class="type-name-link" title="class in playground">LevelHitTwice</a></li>
<li class="circle">playground.<a href="playground/LevelWithBox.html" class="type-name-link" title="class in playground">LevelWithBox</a></li>
<li class="circle">playground.<a href="playground/SpaceInvadersLevelAua.html" class="type-name-link" title="class in playground">SpaceInvadersLevelAua</a>
<ul>
<li class="circle">playground.<a href="playground/Level5.html" class="type-name-link" title="class in playground">Level5</a></li>
<li class="circle">playground.<a href="playground/Level6.html" class="type-name-link" title="class in playground">Level6</a></li>
<li class="circle">playground.<a href="playground/Level7.html" class="type-name-link" title="class in playground">Level7</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="circle">playground.<a href="playground/SaveGame.html" class="type-name-link" title="class in playground">SaveGame</a></li>
</ul>
</li>
</ul>

2
spaceinvaders/GameProject/doc/package-search-index.js

@ -1 +1 @@
packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"base"},{"l":"collider"},{"l":"controller"},{"l":"gameobjects"},{"l":"playground"},{"l":"rendering"},{"l":"ui"}];updateSearchResults();
packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"controller"}];updateSearchResults();

42
spaceinvaders/GameProject/doc/script.js

@ -1,26 +1,26 @@
/*
* Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
var moduleSearchIndex;

34
spaceinvaders/GameProject/doc/search.js

@ -1,26 +1,26 @@
/*
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
var noResult = {l: "No results found"};

2
spaceinvaders/GameProject/doc/tag-search-index.js

@ -1 +1 @@
tagSearchIndex = [{"l":"Constant Field Values","h":"","u":"constant-values.html"}];updateSearchResults();
tagSearchIndex = [];updateSearchResults();

2
spaceinvaders/GameProject/doc/type-search-index.js

@ -1 +1 @@
typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"gameobjects","l":"AnimatedGameobject"},{"p":"playground","l":"Animation"},{"p":"rendering","l":"AnimationArtist"},{"p":"rendering","l":"Artist"},{"p":"rendering","l":"CircleArtist"},{"p":"collider","l":"CircleCollider"},{"p":"collider","l":"Collider"},{"p":"controller","l":"CollisionAwareEgoController"},{"p":"controller","l":"EgoController"},{"p":"gameobjects","l":"EgoObject"},{"p":"controller","l":"EnemyController"},{"p":"gameobjects","l":"FallingStar"},{"p":"controller","l":"FallingStarController"},{"p":"base","l":"GameLoop"},{"p":"gameobjects","l":"GameObject"},{"p":"ui","l":"GameUI"},{"p":"playground","l":"HighscoreManager"},{"p":"playground","l":"Level1"},{"p":"playground","l":"Level2"},{"p":"playground","l":"Level3"},{"p":"playground","l":"Level4"},{"p":"playground","l":"Level5"},{"p":"playground","l":"Level6"},{"p":"playground","l":"Level7"},{"p":"playground","l":"LevelBoss"},{"p":"playground","l":"LevelHitTwice"},{"p":"playground","l":"LevelWithBox"},{"p":"controller","l":"LimitedTimeController"},{"p":"controller","l":"MineController"},{"p":"base","l":"MultiLevelGame"},{"p":"playground","l":"Music"},{"p":"controller","l":"ObjectController"},{"p":"playground","l":"Playground"},{"p":"rendering","l":"RectArtist"},{"p":"collider","l":"RectCollider"},{"p":"gameobjects","l":"RectObject"},{"p":"playground","l":"SaveGame"},{"p":"controller","l":"SimpleShotController"},{"p":"playground","l":"SpaceInvadersLevel"},{"p":"playground","l":"SpaceInvadersLevelAua"},{"p":"rendering","l":"TextArtist"},{"p":"gameobjects","l":"TextObject"},{"p":"controller","l":"ZickZackController"}];updateSearchResults();
typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"controller","l":"ReboundController"}];updateSearchResults();

87
spaceinvaders/GameProject/log/log4j.log

@ -1094,3 +1094,90 @@
2022-05-18 16:16:35,304 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 16:16:35,307 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 16:16:35,311 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 16:26:22,524 INFO base.GameLoop - GUI starts
2022-05-18 16:26:24,250 INFO base.GameLoop - GUI NEW
2022-05-18 16:26:24,250 INFO playground.SpaceInvadersLevel - PREPARE
2022-05-18 16:26:24,303 INFO playground.Animation - img added .\video/sweetAlien0.png
2022-05-18 16:26:24,311 INFO playground.Animation - img added .\video/sweetAlien1.png
2022-05-18 16:26:24,313 INFO playground.Animation - img added .\video/sweetAlien2.png
2022-05-18 16:26:24,317 INFO playground.Animation - img added .\video/sweetAlien3.png
2022-05-18 16:26:24,321 INFO playground.Animation - img added .\video/sweetAlien4.png
2022-05-18 16:26:24,324 INFO playground.Animation - img added .\video/sweetAlien5.png
2022-05-18 16:26:24,327 INFO playground.Animation - img added .\video/sweetAlien6.png
2022-05-18 16:26:24,329 INFO playground.Animation - img added .\video/sweetAlien7.png
2022-05-18 16:26:24,337 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 16:26:24,340 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 16:26:24,344 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 16:37:15,550 INFO base.GameLoop - GUI starts
2022-05-18 16:37:17,390 INFO base.GameLoop - GUI NEW
2022-05-18 16:37:17,391 INFO playground.SpaceInvadersLevel - PREPARE
2022-05-18 16:37:17,446 INFO playground.Animation - img added .\video/sweetAlien0.png
2022-05-18 16:37:17,454 INFO playground.Animation - img added .\video/sweetAlien1.png
2022-05-18 16:37:17,457 INFO playground.Animation - img added .\video/sweetAlien2.png
2022-05-18 16:37:17,461 INFO playground.Animation - img added .\video/sweetAlien3.png
2022-05-18 16:37:17,465 INFO playground.Animation - img added .\video/sweetAlien4.png
2022-05-18 16:37:17,470 INFO playground.Animation - img added .\video/sweetAlien5.png
2022-05-18 16:37:17,473 INFO playground.Animation - img added .\video/sweetAlien6.png
2022-05-18 16:37:17,475 INFO playground.Animation - img added .\video/sweetAlien7.png
2022-05-18 16:37:17,483 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 16:37:17,486 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 16:37:17,491 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 17:14:06,549 INFO base.GameLoop - GUI starts
2022-05-18 17:14:09,335 INFO base.GameLoop - GUI NEW
2022-05-18 17:14:09,335 INFO playground.SpaceInvadersLevel - PREPARE
2022-05-18 17:14:09,386 INFO playground.Animation - img added .\video/sweetAlien0.png
2022-05-18 17:14:09,393 INFO playground.Animation - img added .\video/sweetAlien1.png
2022-05-18 17:14:09,396 INFO playground.Animation - img added .\video/sweetAlien2.png
2022-05-18 17:14:09,399 INFO playground.Animation - img added .\video/sweetAlien3.png
2022-05-18 17:14:09,403 INFO playground.Animation - img added .\video/sweetAlien4.png
2022-05-18 17:14:09,407 INFO playground.Animation - img added .\video/sweetAlien5.png
2022-05-18 17:14:09,410 INFO playground.Animation - img added .\video/sweetAlien6.png
2022-05-18 17:14:09,412 INFO playground.Animation - img added .\video/sweetAlien7.png
2022-05-18 17:14:09,419 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 17:14:09,422 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 17:14:09,427 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 17:14:31,903 INFO base.GameLoop - GUI starts
2022-05-18 17:14:33,672 INFO base.GameLoop - GUI NEW
2022-05-18 17:14:33,673 INFO playground.SpaceInvadersLevel - PREPARE
2022-05-18 17:14:33,726 INFO playground.Animation - img added .\video/sweetAlien0.png
2022-05-18 17:14:33,734 INFO playground.Animation - img added .\video/sweetAlien1.png
2022-05-18 17:14:33,736 INFO playground.Animation - img added .\video/sweetAlien2.png
2022-05-18 17:14:33,740 INFO playground.Animation - img added .\video/sweetAlien3.png
2022-05-18 17:14:33,744 INFO playground.Animation - img added .\video/sweetAlien4.png
2022-05-18 17:14:33,748 INFO playground.Animation - img added .\video/sweetAlien5.png
2022-05-18 17:14:33,751 INFO playground.Animation - img added .\video/sweetAlien6.png
2022-05-18 17:14:33,753 INFO playground.Animation - img added .\video/sweetAlien7.png
2022-05-18 17:14:33,761 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 17:14:33,764 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 17:14:33,768 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 17:19:18,165 INFO base.GameLoop - GUI starts
2022-05-18 17:19:20,583 INFO base.GameLoop - GUI NEW
2022-05-18 17:19:20,583 INFO playground.SpaceInvadersLevel - PREPARE
2022-05-18 17:19:20,637 INFO playground.Animation - img added .\video/sweetAlien0.png
2022-05-18 17:19:20,645 INFO playground.Animation - img added .\video/sweetAlien1.png
2022-05-18 17:19:20,647 INFO playground.Animation - img added .\video/sweetAlien2.png
2022-05-18 17:19:20,651 INFO playground.Animation - img added .\video/sweetAlien3.png
2022-05-18 17:19:20,655 INFO playground.Animation - img added .\video/sweetAlien4.png
2022-05-18 17:19:20,659 INFO playground.Animation - img added .\video/sweetAlien5.png
2022-05-18 17:19:20,662 INFO playground.Animation - img added .\video/sweetAlien6.png
2022-05-18 17:19:20,665 INFO playground.Animation - img added .\video/sweetAlien7.png
2022-05-18 17:19:20,672 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 17:19:20,675 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 17:19:20,679 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 17:19:58,938 INFO base.GameLoop - GUI starts
2022-05-18 17:20:00,839 INFO base.GameLoop - GUI NEW
2022-05-18 17:20:00,839 INFO playground.SpaceInvadersLevel - PREPARE
2022-05-18 17:20:00,891 INFO playground.Animation - img added .\video/sweetAlien0.png
2022-05-18 17:20:00,899 INFO playground.Animation - img added .\video/sweetAlien1.png
2022-05-18 17:20:00,902 INFO playground.Animation - img added .\video/sweetAlien2.png
2022-05-18 17:20:00,905 INFO playground.Animation - img added .\video/sweetAlien3.png
2022-05-18 17:20:00,910 INFO playground.Animation - img added .\video/sweetAlien4.png
2022-05-18 17:20:00,914 INFO playground.Animation - img added .\video/sweetAlien5.png
2022-05-18 17:20:00,916 INFO playground.Animation - img added .\video/sweetAlien6.png
2022-05-18 17:20:00,919 INFO playground.Animation - img added .\video/sweetAlien7.png
2022-05-18 17:20:00,926 INFO playground.Animation - img added .\video/heart0.png
2022-05-18 17:20:00,929 INFO playground.Animation - img added .\video/heart1.png
2022-05-18 17:20:00,934 INFO playground.SpaceInvadersLevel - HIGHSCORE17200
2022-05-18 17:20:56,882 INFO playground.SpaceInvadersLevel - no enemies left, level done.
2022-05-18 17:20:56,883 INFO base.GameLoop - reached end of levels
2022-05-18 17:20:56,883 INFO base.GameLoop - Game ends. Bye.

17
spaceinvaders/GameProject/src/controller/ReboundController.java

@ -0,0 +1,17 @@
package controller;
public class ReboundController extends ObjectController {
@Override
public void updateObject() {
// TODO Auto-generated method stub
if(this.getX()<30 || this.getX()>670) {
this.setVX(this.getVX()* -1);
}
if(this.getY()<30 || this.getY()>670) {
this.setVY(this.getVY()* -1);
}
this.applySpeedVector();
}
}

13
spaceinvaders/GameProject/src/playground/LevelMovingObjects.java

@ -1,6 +1,9 @@
package playground;
import java.awt.Color;
import gameobjects.*;
import controller.*;
/** This level adds two distracting objects to the canvas that cannot collide but bounce around all the time.
*/
@ -8,6 +11,16 @@ public class LevelMovingObjects extends SpaceInvadersLevel {
// TODO your code here
@Override
public void prepareLevel(String id) {
super.prepareLevel(id);
RectObject blueBox = new RectObject("BlueBox", this, 300, 300, 170, 70, 30, 30, Color.BLUE);
this.addObject(blueBox);
ReboundController boxControl = new ReboundController();
blueBox.addController(boxControl);
}
/** "Moving Objects Level!" is the message.
*

Loading…
Cancel
Save