You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
330 lines
23 KiB
330 lines
23 KiB
<!DOCTYPE HTML>
|
|
<html lang="de">
|
|
<head>
|
|
<!-- Generated by javadoc (17) on Fri Jun 03 11:30:18 CEST 2022 -->
|
|
<title>Uses of Class playground.Playground</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="dc.created" content="2022-06-03">
|
|
<meta name="description" content="use: package: playground, class: Playground">
|
|
<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="../../index.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../Playground.html" title="class in playground">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 playground.Playground" class="title">Uses of Class<br>playground.Playground</h1>
|
|
</div>
|
|
<div class="caption"><span>Packages that use <a href="../Playground.html" title="class in playground">Playground</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">
|
|
<div class="block">The package contains classes implementing a 'bounding box' area around game objects.</div>
|
|
</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">
|
|
<div class="block">The package gameobjects contains all objects with a visual representation on screen.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><a href="#playground">playground</a></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The package playground contains all level specific logic and control of level logic.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><a href="#ui">ui</a></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="collider">
|
|
<h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../collider/package-summary.html">collider</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../collider/package-summary.html">collider</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<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"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">Collider.</span><code><a href="../../collider/Collider.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a> playground)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">setter for Playground instance this collider belongs to</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="controller">
|
|
<h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../controller/package-summary.html">controller</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../controller/package-summary.html">controller</a> that return <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<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"><code><a href="../Playground.html" title="class in playground">Playground</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ObjectController.</span><code><a href="../../controller/ObjectController.html#getPlayground()" class="member-name-link">getPlayground</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../controller/package-summary.html">controller</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<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"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">ObjectController.</span><code><a href="../../controller/ObjectController.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a> playground)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="gameobjects">
|
|
<h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../gameobjects/package-summary.html">gameobjects</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../gameobjects/package-summary.html">gameobjects</a> that return <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<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"><code><a href="../Playground.html" title="class in playground">Playground</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">GameObject.</span><code><a href="../../gameobjects/GameObject.html#getPlayground()" class="member-name-link">getPlayground</a>()</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Methods in <a href="../../gameobjects/package-summary.html">gameobjects</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<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"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">GameObject.</span><code><a href="../../gameobjects/GameObject.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a> playground)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../../gameobjects/package-summary.html">gameobjects</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><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</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> pg,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy,
|
|
double scale,
|
|
<a href="../Animation.html" title="class in playground">Animation</a> anim,
|
|
double t0,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> abspielmodus)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../gameobjects/EgoObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,double)" class="member-name-link">EgoObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> pg,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy,
|
|
double egoRad)</code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../gameobjects/FallingStar.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,java.awt.Color,double)" class="member-name-link">FallingStar</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> playground,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a> color,
|
|
double rad)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../gameobjects/GameObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double)" class="member-name-link">GameObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> playground,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Constructor to initialize a GameObject, respectively set the current <a href="../Playground.html" title="class in playground"><code>Playground</code></a>
|
|
instance this GameObject belongs to.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../gameobjects/GameObject.html#%3Cinit%3E(java.lang.String,playground.Playground,controller.ObjectController,double,double,double,double)" class="member-name-link">GameObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> playground,
|
|
<a href="../../controller/ObjectController.html" title="class in controller">ObjectController</a> controller,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Constructor to initialize a GameObject, respectively set the current Playground instance this
|
|
GameObject belongs to.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../../gameobjects/RectObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,double,double,java.awt.Color)" class="member-name-link">RectObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> pg,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy,
|
|
double width,
|
|
double height,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a> color)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Initializes the RectObject with a suitable RectArtist for drawing the RectObject.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../../gameobjects/TextObject.html#%3Cinit%3E(java.lang.String,playground.Playground,double,double,double,double,java.lang.String,int,java.awt.Color)" class="member-name-link">TextObject</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> id,
|
|
<a href="../Playground.html" title="class in playground">Playground</a> playground,
|
|
double x,
|
|
double y,
|
|
double vx,
|
|
double vy,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> text,
|
|
int size,
|
|
<a href="https://docs.oracle.com/javase/8/docs/api/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a> textColor)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Constructor.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="playground">
|
|
<h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../package-summary.html">playground</a></h2>
|
|
<div class="caption"><span>Subclasses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../package-summary.html">playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Class</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../BreakoutLevel1.html" class="type-name-link" title="class in playground">BreakoutLevel1</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../BreakoutLevelBase.html" class="type-name-link" title="class in playground">BreakoutLevelBase</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../Level1.html" class="type-name-link" title="class in playground">Level1</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a boring start message</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../Level2.html" class="type-name-link" title="class in playground">Level2</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a different startup message.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../Level3.html" class="type-name-link" title="class in playground">Level3</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a ZigZack move of the enemies in
|
|
<code>Level3.createSingleEnemy(String, double, double, double, double, ObjectController, double)</code> and
|
|
sets a different <code>Level3.getStartupMessage()</code>.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../Level4.html" class="type-name-link" title="class in playground">Level4</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with aliens that need two hits to be destroyed.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../Level5.html" class="type-name-link" title="class in playground">Level5</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../Level6.html" class="type-name-link" title="class in playground">Level6</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../Level7.html" class="type-name-link" title="class in playground">Level7</a></code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../LevelBoss.html" class="type-name-link" title="class in playground">LevelBoss</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Class that realizes all the game logic of a very simple game level.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../LevelHitTwice.html" class="type-name-link" title="class in playground">LevelHitTwice</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with 10 enemies that need two shots each to be destroyed.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../LevelMovingHitObjects.html" class="type-name-link" title="class in playground">LevelMovingHitObjects</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Level that creates two RectObjects moving around and if ego is hit by them game is directly lost
|
|
(lives = 0).</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../LevelMovingObjects.html" class="type-name-link" title="class in playground">LevelMovingObjects</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">This level adds two distracting objects to the canvas that cannot collide but bounce around all the time.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../LevelWithBox.html" class="type-name-link" title="class in playground">LevelWithBox</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">extends <a href="../SpaceInvadersLevel.html" title="class in playground"><code>SpaceInvadersLevel</code></a> with a red box.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../SpaceInvadersLevel.html" class="type-name-link" title="class in playground">SpaceInvadersLevel</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<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"><code>class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../SpaceInvadersLevelAua.html" class="type-name-link" title="class in playground">SpaceInvadersLevelAua</a></code></div>
|
|
<div class="col-last odd-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
<li>
|
|
<section class="detail" id="ui">
|
|
<h2>Uses of <a href="../Playground.html" title="class in playground">Playground</a> in <a href="../../ui/package-summary.html">ui</a></h2>
|
|
<div class="caption"><span>Methods in <a href="../../ui/package-summary.html">ui</a> with parameters of type <a href="../Playground.html" title="class in playground">Playground</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<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"><code>void</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">GameUI.</span><code><a href="../../ui/GameUI.html#setPlayground(playground.Playground)" class="member-name-link">setPlayground</a><wbr>(<a href="../Playground.html" title="class in playground">Playground</a> pg)</code></div>
|
|
<div class="col-last even-row-color"> </div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|