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.

101 lines
4.9 KiB

3 years ago
3 years ago
  1. <!DOCTYPE HTML>
  2. <html lang="de">
  3. <head>
  4. <!-- Generated by javadoc (17) on Fri Jun 17 12:42:43 CEST 2022 -->
  5. <title>collider</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-06-17">
  9. <meta name="description" content="declaration: package: collider">
  10. <meta name="generator" content="javadoc/PackageWriterImpl">
  11. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  12. <link rel="stylesheet" type="text/css" href="../script-dir/jquery-ui.min.css" title="Style">
  13. <link rel="stylesheet" type="text/css" href="../jquery-ui.overrides.css" title="Style">
  14. <script type="text/javascript" src="../script.js"></script>
  15. <script type="text/javascript" src="../script-dir/jquery-3.5.1.min.js"></script>
  16. <script type="text/javascript" src="../script-dir/jquery-ui.min.js"></script>
  17. </head>
  18. <body class="package-declaration-page">
  19. <script type="text/javascript">var pathtoroot = "../";
  20. loadScripts(document, 'script');</script>
  21. <noscript>
  22. <div>JavaScript is disabled on your browser.</div>
  23. </noscript>
  24. <div class="flex-box">
  25. <header role="banner" class="flex-header">
  26. <nav role="navigation">
  27. <!-- ========= START OF TOP NAVBAR ======= -->
  28. <div class="top-nav" id="navbar-top">
  29. <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
  30. <ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
  31. <li><a href="../index.html">Overview</a></li>
  32. <li class="nav-bar-cell1-rev">Package</li>
  33. <li>Class</li>
  34. <li><a href="package-use.html">Use</a></li>
  35. <li><a href="package-tree.html">Tree</a></li>
  36. <li><a href="../index-files/index-1.html">Index</a></li>
  37. <li><a href="../help-doc.html#package">Help</a></li>
  38. </ul>
  39. </div>
  40. <div class="sub-nav">
  41. <div>
  42. <ul class="sub-nav-list">
  43. <li>Package:&nbsp;</li>
  44. <li><a href="#package-description">Description</a>&nbsp;|&nbsp;</li>
  45. <li>Related Packages&nbsp;|&nbsp;</li>
  46. <li><a href="#class-summary">Classes and Interfaces</a></li>
  47. </ul>
  48. </div>
  49. <div class="nav-list-search"><label for="search-input">SEARCH:</label>
  50. <input type="text" id="search-input" value="search" disabled="disabled">
  51. <input type="reset" id="reset-button" value="reset" disabled="disabled">
  52. </div>
  53. </div>
  54. <!-- ========= END OF TOP NAVBAR ========= -->
  55. <span class="skip-nav" id="skip-navbar-top"></span></nav>
  56. </header>
  57. <div class="flex-content">
  58. <main role="main">
  59. <div class="header">
  60. <h1 title="Package collider" class="title">Package collider</h1>
  61. </div>
  62. <hr>
  63. <div class="package-signature">package <span class="element-name">collider</span></div>
  64. <section class="package-description" id="package-description">
  65. <div class="block">The package contains classes implementing a 'bounding box' area around game objects. <br>
  66. The abstract base class <a href="Collider.html" title="class in collider"><code>Collider</code></a> provides the abstract method <a href="Collider.html#collidesWith(collider.Collider)"><code>Collider.collidesWith(Collider)</code></a>,
  67. which needs to be implemented by child classes to detect and decide whether or not an object with such instance really collides with the other.
  68. <a href="Collider.html" title="class in collider"><code>Collider</code></a> instances are to be used for game objects (<a href="../gameobjects/package-summary.html"><code>gameobjects</code></a>); see constructors.<br>
  69. The benefit of seperating Colliders from visual representations is that the area for collisions can be smaller/bigger/other shape to improve game play experience.</div>
  70. </section>
  71. <section class="summary">
  72. <ul class="summary-list">
  73. <li>
  74. <div id="class-summary">
  75. <div class="caption"><span>Classes</span></div>
  76. <div class="summary-table two-column-summary">
  77. <div class="table-header col-first">Class</div>
  78. <div class="table-header col-last">Description</div>
  79. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="CircleCollider.html" title="class in collider">CircleCollider</a></div>
  80. <div class="col-last even-row-color class-summary class-summary-tab2">
  81. <div class="block">Collider for round objects</div>
  82. </div>
  83. <div class="col-first odd-row-color class-summary class-summary-tab2"><a href="Collider.html" title="class in collider">Collider</a></div>
  84. <div class="col-last odd-row-color class-summary class-summary-tab2">
  85. <div class="block">abstract base class for all Colliders to detect collisions between GameObjects</div>
  86. </div>
  87. <div class="col-first even-row-color class-summary class-summary-tab2"><a href="RectCollider.html" title="class in collider">RectCollider</a></div>
  88. <div class="col-last even-row-color class-summary class-summary-tab2">
  89. <div class="block">a <a href="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>
  90. </div>
  91. </div>
  92. </div>
  93. </li>
  94. </ul>
  95. </section>
  96. </main>
  97. </div>
  98. </div>
  99. </body>
  100. </html>