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.

156 lines
11 KiB

  1. <!DOCTYPE HTML>
  2. <html lang="de">
  3. <head>
  4. <!-- Generated by javadoc (17) on Thu May 12 09:13:23 CEST 2022 -->
  5. <title>FallingStar</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8. <meta name="dc.created" content="2022-05-12">
  9. <meta name="description" content="declaration: package: gameobjects, class: FallingStar">
  10. <meta name="generator" content="javadoc/ClassWriterImpl">
  11. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  12. <link rel="stylesheet" type="text/css" href="../script-dir/jquery-ui.min.css" title="Style">
  13. <link rel="stylesheet" type="text/css" href="../jquery-ui.overrides.css" title="Style">
  14. <script type="text/javascript" src="../script.js"></script>
  15. <script type="text/javascript" src="../script-dir/jquery-3.5.1.min.js"></script>
  16. <script type="text/javascript" src="../script-dir/jquery-ui.min.js"></script>
  17. </head>
  18. <body class="class-declaration-page">
  19. <script type="text/javascript">var pathtoroot = "../";
  20. loadScripts(document, 'script');</script>
  21. <noscript>
  22. <div>JavaScript is disabled on your browser.</div>
  23. </noscript>
  24. <div class="flex-box">
  25. <header role="banner" class="flex-header">
  26. <nav role="navigation">
  27. <!-- ========= START OF TOP NAVBAR ======= -->
  28. <div class="top-nav" id="navbar-top">
  29. <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
  30. <ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
  31. <li><a href="../index.html">Overview</a></li>
  32. <li><a href="package-summary.html">Package</a></li>
  33. <li class="nav-bar-cell1-rev">Class</li>
  34. <li><a href="class-use/FallingStar.html">Use</a></li>
  35. <li><a href="package-tree.html">Tree</a></li>
  36. <li><a href="../index-files/index-1.html">Index</a></li>
  37. <li><a href="../help-doc.html#class">Help</a></li>
  38. </ul>
  39. </div>
  40. <div class="sub-nav">
  41. <div>
  42. <ul class="sub-nav-list">
  43. <li>Summary:&nbsp;</li>
  44. <li>Nested&nbsp;|&nbsp;</li>
  45. <li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
  46. <li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
  47. <li><a href="#method-summary">Method</a></li>
  48. </ul>
  49. <ul class="sub-nav-list">
  50. <li>Detail:&nbsp;</li>
  51. <li>Field&nbsp;|&nbsp;</li>
  52. <li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
  53. <li>Method</li>
  54. </ul>
  55. </div>
  56. <div class="nav-list-search"><label for="search-input">SEARCH:</label>
  57. <input type="text" id="search-input" value="search" disabled="disabled">
  58. <input type="reset" id="reset-button" value="reset" disabled="disabled">
  59. </div>
  60. </div>
  61. <!-- ========= END OF TOP NAVBAR ========= -->
  62. <span class="skip-nav" id="skip-navbar-top"></span></nav>
  63. </header>
  64. <div class="flex-content">
  65. <main role="main">
  66. <!-- ======== START OF CLASS DATA ======== -->
  67. <div class="header">
  68. <div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">gameobjects</a></div>
  69. <h1 title="Class FallingStar" class="title">Class FallingStar</h1>
  70. </div>
  71. <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
  72. <div class="inheritance"><a href="GameObject.html" title="class in gameobjects">gameobjects.GameObject</a>
  73. <div class="inheritance">gameobjects.FallingStar</div>
  74. </div>
  75. </div>
  76. <section class="class-description" id="class-description">
  77. <hr>
  78. <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">FallingStar</span>
  79. <span class="extends-implements">extends <a href="GameObject.html" title="class in gameobjects">GameObject</a></span></div>
  80. </section>
  81. <section class="summary">
  82. <ul class="summary-list">
  83. <!-- =========== FIELD SUMMARY =========== -->
  84. <li>
  85. <section class="field-summary" id="field-summary">
  86. <h2>Field Summary</h2>
  87. <div class="inherited-list">
  88. <h3 id="fields-inherited-from-class-gameobjects.GameObject">Fields inherited from class&nbsp;gameobjects.<a href="GameObject.html" title="class in gameobjects">GameObject</a></h3>
  89. <code><a href="GameObject.html#id">id</a>, <a href="GameObject.html#MASK">MASK</a>, <a href="GameObject.html#RADIUS">RADIUS</a>, <a href="GameObject.html#RECTANGLE">RECTANGLE</a>, <a href="GameObject.html#scol">scol</a></code></div>
  90. </section>
  91. </li>
  92. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  93. <li>
  94. <section class="constructor-summary" id="constructor-summary">
  95. <h2>Constructor Summary</h2>
  96. <div class="caption"><span>Constructors</span></div>
  97. <div class="summary-table two-column-summary">
  98. <div class="table-header col-first">Constructor</div>
  99. <div class="table-header col-last">Description</div>
  100. <div class="col-constructor-name even-row-color"><code><a href="#%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/en/java/javase/12/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  101. <a href="../playground/Playground.html" title="class in playground">Playground</a>&nbsp;playground,
  102. double&nbsp;x,
  103. double&nbsp;y,
  104. double&nbsp;vx,
  105. double&nbsp;vy,
  106. <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.desktop/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a>&nbsp;color,
  107. double&nbsp;rad)</code></div>
  108. <div class="col-last even-row-color">&nbsp;</div>
  109. </div>
  110. </section>
  111. </li>
  112. <!-- ========== METHOD SUMMARY =========== -->
  113. <li>
  114. <section class="method-summary" id="method-summary">
  115. <h2>Method Summary</h2>
  116. <div class="inherited-list">
  117. <h3 id="methods-inherited-from-class-gameobjects.GameObject">Methods inherited from class&nbsp;gameobjects.<a href="GameObject.html" title="class in gameobjects">GameObject</a></h3>
  118. <code><a href="GameObject.html#addArtist(rendering.Artist)">addArtist</a>, <a href="GameObject.html#addCollider(collider.Collider)">addCollider</a>, <a href="GameObject.html#addController(controller.ObjectController)">addController</a>, <a href="GameObject.html#collisionDetection(gameobjects.GameObject)">collisionDetection</a>, <a href="GameObject.html#draw(java.awt.Graphics2D)">draw</a>, <a href="GameObject.html#generateColliders()">generateColliders</a>, <a href="GameObject.html#getGameTime()">getGameTime</a>, <a href="GameObject.html#getId()">getId</a>, <a href="GameObject.html#getObjectController()">getObjectController</a>, <a href="GameObject.html#getObjectFlag(java.lang.String)">getObjectFlag</a>, <a href="GameObject.html#getOrCreateObjectFlag(java.lang.String,java.lang.Object)">getOrCreateObjectFlag</a>, <a href="GameObject.html#getPlayground()">getPlayground</a>, <a href="GameObject.html#getVX()">getVX</a>, <a href="GameObject.html#getVY()">getVY</a>, <a href="GameObject.html#getX()">getX</a>, <a href="GameObject.html#getY()">getY</a>, <a href="GameObject.html#isActive()">isActive</a>, <a href="GameObject.html#setActive(boolean)">setActive</a>, <a href="GameObject.html#setColliders(java.util.LinkedList)">setColliders</a>, <a href="GameObject.html#setComponentProperty(java.lang.String,java.lang.String,java.lang.Object)">setComponentProperty</a>, <a href="GameObject.html#setObjectController(controller.ObjectController)">setObjectController</a>, <a href="GameObject.html#setObjectFlag(java.lang.String,java.lang.Object)">setObjectFlag</a>, <a href="GameObject.html#setPlayground(playground.Playground)">setPlayground</a>, <a href="GameObject.html#setVX(double)">setVX</a>, <a href="GameObject.html#setVY(double)">setVY</a>, <a href="GameObject.html#setX(double)">setX</a>, <a href="GameObject.html#setY(double)">setY</a>, <a href="GameObject.html#updateObject()">updateObject</a></code></div>
  119. <div class="inherited-list">
  120. <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
  121. <code><a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/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/en/java/javase/12/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
  122. </section>
  123. </li>
  124. </ul>
  125. </section>
  126. <section class="details">
  127. <ul class="details-list">
  128. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  129. <li>
  130. <section class="constructor-details" id="constructor-detail">
  131. <h2>Constructor Details</h2>
  132. <ul class="member-list">
  133. <li>
  134. <section class="detail" id="&lt;init&gt;(java.lang.String,playground.Playground,double,double,double,double,java.awt.Color,double)">
  135. <h3>FallingStar</h3>
  136. <div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">FallingStar</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;id,
  137. <a href="../playground/Playground.html" title="class in playground">Playground</a>&nbsp;playground,
  138. double&nbsp;x,
  139. double&nbsp;y,
  140. double&nbsp;vx,
  141. double&nbsp;vy,
  142. <a href="https://docs.oracle.com/en/java/javase/12/docs/api/java.desktop/java/awt/Color.html" title="class or interface in java.awt" class="external-link">Color</a>&nbsp;color,
  143. double&nbsp;rad)</span></div>
  144. </section>
  145. </li>
  146. </ul>
  147. </section>
  148. </li>
  149. </ul>
  150. </section>
  151. <!-- ========= END OF CLASS DATA ========= -->
  152. </main>
  153. </div>
  154. </div>
  155. </body>
  156. </html>