MonsterGen.Chimera.html 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>MonsterGen.Chimera (squidlib-util 3.0.0-SNAPSHOT)</title>
  8. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="MonsterGen.Chimera (squidlib-util 3.0.0-SNAPSHOT)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/MonsterGen.Chimera.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../index-files/index-1.html">Index</a></li>
  47. <li><a href="../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../squidpony/MonsterGen.html" title="class in squidpony"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../squidpony/NaturalLanguageCipher.html" title="class in squidpony"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../index.html?squidpony/MonsterGen.Chimera.html" target="_top">Frames</a></li>
  57. <li><a href="MonsterGen.Chimera.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">squidpony</div>
  96. <h2 title="Class MonsterGen.Chimera" class="title">Class MonsterGen.Chimera</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  101. <li>
  102. <ul class="inheritance">
  103. <li>squidpony.MonsterGen.Chimera</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <dl>
  111. <dt>Enclosing class:</dt>
  112. <dd><a href="../squidpony/MonsterGen.html" title="class in squidpony">MonsterGen</a></dd>
  113. </dl>
  114. <hr>
  115. <br>
  116. <pre>public static class <a href="../src-html/squidpony/MonsterGen.html#line.39">MonsterGen.Chimera</a>
  117. extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
  118. <div class="block">A creature that can be mixed with other Chimeras or given additional descriptors, then printed in a usable format
  119. for game text.</div>
  120. </li>
  121. </ul>
  122. </div>
  123. <div class="summary">
  124. <ul class="blockList">
  125. <li class="blockList">
  126. <!-- =========== FIELD SUMMARY =========== -->
  127. <ul class="blockList">
  128. <li class="blockList"><a name="field.summary">
  129. <!-- -->
  130. </a>
  131. <h3>Field Summary</h3>
  132. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  133. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  134. <tr>
  135. <th class="colFirst" scope="col">Modifier and Type</th>
  136. <th class="colLast" scope="col">Field and Description</th>
  137. </tr>
  138. <tr class="altColor">
  139. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  140. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#mainForm">mainForm</a></span></code>&nbsp;</td>
  141. </tr>
  142. <tr class="rowColor">
  143. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  144. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#name">name</a></span></code>&nbsp;</td>
  145. </tr>
  146. <tr class="altColor">
  147. <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedMap.html" title="class in squidpony.squidmath">OrderedMap</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;</code></td>
  148. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#parts">parts</a></span></code>&nbsp;</td>
  149. </tr>
  150. <tr class="rowColor">
  151. <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
  152. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#powerAdjectives">powerAdjectives</a></span></code>&nbsp;</td>
  153. </tr>
  154. <tr class="altColor">
  155. <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
  156. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#powerPhrases">powerPhrases</a></span></code>&nbsp;</td>
  157. </tr>
  158. <tr class="rowColor">
  159. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  160. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#unknown">unknown</a></span></code>&nbsp;</td>
  161. </tr>
  162. <tr class="altColor">
  163. <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#unsaidAdjectives">unsaidAdjectives</a></span></code>&nbsp;</td>
  165. </tr>
  166. <tr class="rowColor">
  167. <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
  168. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#wholeAdjectives">wholeAdjectives</a></span></code>&nbsp;</td>
  169. </tr>
  170. </table>
  171. </li>
  172. </ul>
  173. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  174. <ul class="blockList">
  175. <li class="blockList"><a name="constructor.summary">
  176. <!-- -->
  177. </a>
  178. <h3>Constructor Summary</h3>
  179. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  180. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  181. <tr>
  182. <th class="colOne" scope="col">Constructor and Description</th>
  183. </tr>
  184. <tr class="altColor">
  185. <td class="colOne"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#Chimera-java.lang.String-squidpony.MonsterGen.Chimera-">Chimera</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  186. <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;other)</code>
  187. <div class="block">Copies an existing Chimera other into a new Chimera with potentially a different name.</div>
  188. </td>
  189. </tr>
  190. <tr class="rowColor">
  191. <td class="colOne"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#Chimera-java.lang.String-java.lang.String-java.util.Collection-java.util.Collection-java.util.Collection-java.util.Collection-java.util.Collection-">Chimera</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  192. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unknown,
  193. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;parts,
  194. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;unsaid,
  195. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;whole,
  196. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;powerAdj,
  197. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;powerPhr)</code>
  198. <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
  199. the creature's basic shape is likely to be unknown to players, and several String Collection args for the
  200. different aspects of the Chimera.</div>
  201. </td>
  202. </tr>
  203. <tr class="altColor">
  204. <td class="colOne"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#Chimera-java.lang.String-java.lang.String-java.lang.String...-">Chimera</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  205. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unknown,
  206. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;terms)</code>
  207. <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
  208. the creature's basic shape is likely to be unknown to players, and an array or vararg of String terms
  209. containing, usually, several groups of String elements separated by the literal string ";" .</div>
  210. </td>
  211. </tr>
  212. </table>
  213. </li>
  214. </ul>
  215. <!-- ========== METHOD SUMMARY =========== -->
  216. <ul class="blockList">
  217. <li class="blockList"><a name="method.summary">
  218. <!-- -->
  219. </a>
  220. <h3>Method Summary</h3>
  221. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  222. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  223. <tr>
  224. <th class="colFirst" scope="col">Modifier and Type</th>
  225. <th class="colLast" scope="col">Method and Description</th>
  226. </tr>
  227. <tr id="i0" class="altColor">
  228. <td class="colFirst"><code><a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a></code></td>
  229. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#mix-squidpony.squidmath.RNG-java.lang.String-squidpony.MonsterGen.Chimera-double-">mix</a></span>(<a href="../squidpony/squidmath/RNG.html" title="class in squidpony.squidmath">RNG</a>&nbsp;rng,
  230. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
  231. <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;other,
  232. double&nbsp;otherInfluence)</code>
  233. <div class="block">Fuse two Chimera objects by some fraction of influence, using the given RNG and possibly renaming the
  234. creature.</div>
  235. </td>
  236. </tr>
  237. <tr id="i1" class="rowColor">
  238. <td class="colFirst"><code><a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a></code></td>
  239. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#mix-java.lang.String-squidpony.MonsterGen.Chimera-double-">mix</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
  240. <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;other,
  241. double&nbsp;otherInfluence)</code>
  242. <div class="block">Fuse two Chimera objects by some fraction of influence, using the default RNG and possibly renaming the
  243. creature.</div>
  244. </td>
  245. </tr>
  246. <tr id="i2" class="altColor">
  247. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  248. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#present-boolean-">present</a></span>(boolean&nbsp;capitalize)</code>
  249. <div class="block">Get a string description of this monster's appearance and powers.</div>
  250. </td>
  251. </tr>
  252. <tr id="i3" class="rowColor">
  253. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  254. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#presentVisible-boolean-">presentVisible</a></span>(boolean&nbsp;capitalize)</code>
  255. <div class="block">Get a string description of this monster's appearance.</div>
  256. </td>
  257. </tr>
  258. <tr id="i4" class="altColor">
  259. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
  260. <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#toString--">toString</a></span>()</code>&nbsp;</td>
  261. </tr>
  262. </table>
  263. <ul class="blockList">
  264. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  265. <!-- -->
  266. </a>
  267. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  268. <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
  269. </ul>
  270. </li>
  271. </ul>
  272. </li>
  273. </ul>
  274. </div>
  275. <div class="details">
  276. <ul class="blockList">
  277. <li class="blockList">
  278. <!-- ============ FIELD DETAIL =========== -->
  279. <ul class="blockList">
  280. <li class="blockList"><a name="field.detail">
  281. <!-- -->
  282. </a>
  283. <h3>Field Detail</h3>
  284. <a name="parts">
  285. <!-- -->
  286. </a>
  287. <ul class="blockList">
  288. <li class="blockList">
  289. <h4>parts</h4>
  290. <pre>public&nbsp;<a href="../squidpony/squidmath/OrderedMap.html" title="class in squidpony.squidmath">OrderedMap</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt; <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.41">parts</a></pre>
  291. </li>
  292. </ul>
  293. <a name="unsaidAdjectives">
  294. <!-- -->
  295. </a>
  296. <ul class="blockList">
  297. <li class="blockList">
  298. <h4>unsaidAdjectives</h4>
  299. <pre>public&nbsp;<a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">unsaidAdjectives</a></pre>
  300. </li>
  301. </ul>
  302. <a name="wholeAdjectives">
  303. <!-- -->
  304. </a>
  305. <ul class="blockList">
  306. <li class="blockList">
  307. <h4>wholeAdjectives</h4>
  308. <pre>public&nbsp;<a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">wholeAdjectives</a></pre>
  309. </li>
  310. </ul>
  311. <a name="powerAdjectives">
  312. <!-- -->
  313. </a>
  314. <ul class="blockList">
  315. <li class="blockList">
  316. <h4>powerAdjectives</h4>
  317. <pre>public&nbsp;<a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">powerAdjectives</a></pre>
  318. </li>
  319. </ul>
  320. <a name="powerPhrases">
  321. <!-- -->
  322. </a>
  323. <ul class="blockList">
  324. <li class="blockList">
  325. <h4>powerPhrases</h4>
  326. <pre>public&nbsp;<a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt; <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">powerPhrases</a></pre>
  327. </li>
  328. </ul>
  329. <a name="name">
  330. <!-- -->
  331. </a>
  332. <ul class="blockList">
  333. <li class="blockList">
  334. <h4>name</h4>
  335. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.43">name</a></pre>
  336. </li>
  337. </ul>
  338. <a name="mainForm">
  339. <!-- -->
  340. </a>
  341. <ul class="blockList">
  342. <li class="blockList">
  343. <h4>mainForm</h4>
  344. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.43">mainForm</a></pre>
  345. </li>
  346. </ul>
  347. <a name="unknown">
  348. <!-- -->
  349. </a>
  350. <ul class="blockListLast">
  351. <li class="blockList">
  352. <h4>unknown</h4>
  353. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.43">unknown</a></pre>
  354. </li>
  355. </ul>
  356. </li>
  357. </ul>
  358. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  359. <ul class="blockList">
  360. <li class="blockList"><a name="constructor.detail">
  361. <!-- -->
  362. </a>
  363. <h3>Constructor Detail</h3>
  364. <a name="Chimera-java.lang.String-squidpony.MonsterGen.Chimera-">
  365. <!-- -->
  366. </a>
  367. <ul class="blockList">
  368. <li class="blockList">
  369. <h4>Chimera</h4>
  370. <pre>public&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.50">Chimera</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  371. <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;other)</pre>
  372. <div class="block">Copies an existing Chimera other into a new Chimera with potentially a different name.</div>
  373. <dl>
  374. <dt><span class="paramLabel">Parameters:</span></dt>
  375. <dd><code>name</code> - the name to use for the Chimera this constructs</dd>
  376. <dd><code>other</code> - the existing Chimera to copy all fields but name from.</dd>
  377. </dl>
  378. </li>
  379. </ul>
  380. <a name="Chimera-java.lang.String-java.lang.String-java.lang.String...-">
  381. <!-- -->
  382. </a>
  383. <ul class="blockList">
  384. <li class="blockList">
  385. <h4>Chimera</h4>
  386. <pre>public&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.93">Chimera</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  387. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unknown,
  388. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;terms)</pre>
  389. <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
  390. the creature's basic shape is likely to be unknown to players, and an array or vararg of String terms
  391. containing, usually, several groups of String elements separated by the literal string ";" . The first group
  392. in terms contains what body parts this creature has and could potentially grant to another creature if mixed;
  393. examples are "head", "legs", "claws", "wings", and "eyes". In the next group are the "unsaid" adjectives,
  394. which are not listed if unknown is false, but may be contributed to other creatures if mixed (mixing a horse
  395. with a snake may make the horse scaly, since "scaly" is an unsaid adjective for snakes). Next are adjectives
  396. that apply to the whole creature's appearance, which don't need to replicate the unsaid adjectives and are
  397. often added as a step to randomize a creature; this part is often empty and simply ends on the separator ";"
  398. . Next are the power adjectives, which are any special abilities a creature might have that aren't
  399. immediately visible, like "furious" or "toxic". Last are the power phrases, which follow a format like "can
  400. cast arcane spells", "embodies the wilderness", or "constantly drools acid"; it should be able to be put in a
  401. sentence after the word "that", like "a snake that can cast arcane spells".
  402. <br>
  403. The unknown argument determines if descriptions need to include basic properties like calling a Snake scaly
  404. (null in this case) or a Pestilence Fiend chitinous (no one knows what that creature is, so a String needs to
  405. be given so a player and player character that don't know its name can call it something, like "demon").
  406. <br>
  407. An example is <code>Chimera SNAKE = new Chimera("snake", null, "head", "tail", "fangs", "eyes", ";",
  408. "reptilian", "scaly", "lean", "curvaceous", ";", ";", "toxic");</code></div>
  409. <dl>
  410. <dt><span class="paramLabel">Parameters:</span></dt>
  411. <dd><code>name</code> - the name to refer to the creature by and its body parts by when mixed</dd>
  412. <dd><code>unknown</code> - true if the creature's basic shape is unlikely to be known by a player, false for animals and
  413. possibly common mythological creatures like dragons</dd>
  414. <dd><code>terms</code> - an array or vararg of String elements, separated by ";" , see method documentation for details</dd>
  415. </dl>
  416. </li>
  417. </ul>
  418. <a name="Chimera-java.lang.String-java.lang.String-java.util.Collection-java.util.Collection-java.util.Collection-java.util.Collection-java.util.Collection-">
  419. <!-- -->
  420. </a>
  421. <ul class="blockListLast">
  422. <li class="blockList">
  423. <h4>Chimera</h4>
  424. <pre>public&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.175">Chimera</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  425. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unknown,
  426. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;parts,
  427. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;unsaid,
  428. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;whole,
  429. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;powerAdj,
  430. <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;powerPhr)</pre>
  431. <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
  432. the creature's basic shape is likely to be unknown to players, and several String Collection args for the
  433. different aspects of the Chimera. The first Collection contains what body parts this creature has and could
  434. potentially grant to another creature if mixed; examples are "head", "legs", "claws", "wings", and "eyes".
  435. The next Collection contains "unsaid" adjectives, which are not listed if unknown is false, but may be
  436. contributed to other creatures if mixed (mixing a horse with a snake may make the horse scaly, since "scaly"
  437. is an unsaid adjective for snakes). Next are adjectives that apply to the "whole" creature's appearance,
  438. which don't need to replicate the unsaid adjectives and are often added as a step to randomize a creature;
  439. this Collection is often empty. Next are the power adjectives, which are any special abilities a creature
  440. might have that aren't immediately visible, like "furious" or "toxic". Last are the power phrases, which
  441. follow a format like "can cast arcane spells", "embodies the wilderness", or "constantly drools acid"; it
  442. should be able to be put in a sentence after the word "that", like "a snake that can cast arcane spells".
  443. <br>
  444. The unknown argument determines if descriptions need to include basic properties like calling a Snake scaly
  445. (null in this case) or a Pestilence Fiend chitinous (no one knows what that creature is, so a String needs to
  446. be given so a player and player character that don't know its name can call it something, like "demon").
  447. <br>
  448. An example is <code>Chimera SNAKE = new Chimera("snake", null, "head", "tail", "fangs", "eyes", ";",
  449. "reptilian", "scaly", "lean", "curvaceous", ";", ";", "toxic");</code></div>
  450. <dl>
  451. <dt><span class="paramLabel">Parameters:</span></dt>
  452. <dd><code>name</code> - the name to refer to the creature by and its body parts by when mixed</dd>
  453. <dd><code>unknown</code> - true if the creature's basic shape is unlikely to be known by a player, false for animals and
  454. possibly common mythological creatures like dragons</dd>
  455. <dd><code>parts</code> - the different body part nouns this creature can contribute to a creature when mixed</dd>
  456. <dd><code>unsaid</code> - appearance adjectives that don't need to be said if the creature is familiar</dd>
  457. <dd><code>whole</code> - appearance adjectives that apply to the whole creature</dd>
  458. <dd><code>powerAdj</code> - power adjectives like "furious" or "fire-breathing"</dd>
  459. <dd><code>powerPhr</code> - power phrases like "can cast arcane spells"</dd>
  460. </dl>
  461. </li>
  462. </ul>
  463. </li>
  464. </ul>
  465. <!-- ============ METHOD DETAIL ========== -->
  466. <ul class="blockList">
  467. <li class="blockList"><a name="method.detail">
  468. <!-- -->
  469. </a>
  470. <h3>Method Detail</h3>
  471. <a name="present-boolean-">
  472. <!-- -->
  473. </a>
  474. <ul class="blockList">
  475. <li class="blockList">
  476. <h4>present</h4>
  477. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.198">present</a>(boolean&nbsp;capitalize)</pre>
  478. <div class="block">Get a string description of this monster's appearance and powers.</div>
  479. <dl>
  480. <dt><span class="paramLabel">Parameters:</span></dt>
  481. <dd><code>capitalize</code> - true if the description should start with a capital letter.</dd>
  482. <dt><span class="returnLabel">Returns:</span></dt>
  483. <dd>a String description including both appearance and powers</dd>
  484. </dl>
  485. </li>
  486. </ul>
  487. <a name="presentVisible-boolean-">
  488. <!-- -->
  489. </a>
  490. <ul class="blockList">
  491. <li class="blockList">
  492. <h4>presentVisible</h4>
  493. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.280">presentVisible</a>(boolean&nbsp;capitalize)</pre>
  494. <div class="block">Get a string description of this monster's appearance.</div>
  495. <dl>
  496. <dt><span class="paramLabel">Parameters:</span></dt>
  497. <dd><code>capitalize</code> - true if the description should start with a capital letter.</dd>
  498. <dt><span class="returnLabel">Returns:</span></dt>
  499. <dd>a String description including only the monster's appearance</dd>
  500. </dl>
  501. </li>
  502. </ul>
  503. <a name="toString--">
  504. <!-- -->
  505. </a>
  506. <ul class="blockList">
  507. <li class="blockList">
  508. <h4>toString</h4>
  509. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.344">toString</a>()</pre>
  510. <dl>
  511. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  512. <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
  513. </dl>
  514. </li>
  515. </ul>
  516. <a name="mix-squidpony.squidmath.RNG-java.lang.String-squidpony.MonsterGen.Chimera-double-">
  517. <!-- -->
  518. </a>
  519. <ul class="blockList">
  520. <li class="blockList">
  521. <h4>mix</h4>
  522. <pre>public&nbsp;<a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.357">mix</a>(<a href="../squidpony/squidmath/RNG.html" title="class in squidpony.squidmath">RNG</a>&nbsp;rng,
  523. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
  524. <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;other,
  525. double&nbsp;otherInfluence)</pre>
  526. <div class="block">Fuse two Chimera objects by some fraction of influence, using the given RNG and possibly renaming the
  527. creature. Does not modify the existing Chimera objects.</div>
  528. <dl>
  529. <dt><span class="paramLabel">Parameters:</span></dt>
  530. <dd><code>rng</code> - the RNG to determine random factors</dd>
  531. <dd><code>newName</code> - the name to call the produced Chimera</dd>
  532. <dd><code>other</code> - the Chimera to mix with this one</dd>
  533. <dd><code>otherInfluence</code> - the fraction between 0.0 and 1.0 of descriptors from other to use</dd>
  534. <dt><span class="returnLabel">Returns:</span></dt>
  535. <dd>a new Chimera mixing features from both inputs</dd>
  536. </dl>
  537. </li>
  538. </ul>
  539. <a name="mix-java.lang.String-squidpony.MonsterGen.Chimera-double-">
  540. <!-- -->
  541. </a>
  542. <ul class="blockListLast">
  543. <li class="blockList">
  544. <h4>mix</h4>
  545. <pre>public&nbsp;<a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;<a href="../src-html/squidpony/MonsterGen.Chimera.html#line.384">mix</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;newName,
  546. <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a>&nbsp;other,
  547. double&nbsp;otherInfluence)</pre>
  548. <div class="block">Fuse two Chimera objects by some fraction of influence, using the default RNG and possibly renaming the
  549. creature. Does not modify the existing Chimera objects.</div>
  550. <dl>
  551. <dt><span class="paramLabel">Parameters:</span></dt>
  552. <dd><code>newName</code> - the name to call the produced Chimera</dd>
  553. <dd><code>other</code> - the Chimera to mix with this one</dd>
  554. <dd><code>otherInfluence</code> - the fraction between 0.0 and 1.0 of descriptors from other to use</dd>
  555. <dt><span class="returnLabel">Returns:</span></dt>
  556. <dd>a new Chimera mixing features from both inputs</dd>
  557. </dl>
  558. </li>
  559. </ul>
  560. </li>
  561. </ul>
  562. </li>
  563. </ul>
  564. </div>
  565. </div>
  566. <!-- ========= END OF CLASS DATA ========= -->
  567. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  568. <div class="bottomNav"><a name="navbar.bottom">
  569. <!-- -->
  570. </a>
  571. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  572. <a name="navbar.bottom.firstrow">
  573. <!-- -->
  574. </a>
  575. <ul class="navList" title="Navigation">
  576. <li><a href="../overview-summary.html">Overview</a></li>
  577. <li><a href="package-summary.html">Package</a></li>
  578. <li class="navBarCell1Rev">Class</li>
  579. <li><a href="class-use/MonsterGen.Chimera.html">Use</a></li>
  580. <li><a href="package-tree.html">Tree</a></li>
  581. <li><a href="../deprecated-list.html">Deprecated</a></li>
  582. <li><a href="../index-files/index-1.html">Index</a></li>
  583. <li><a href="../help-doc.html">Help</a></li>
  584. </ul>
  585. </div>
  586. <div class="subNav">
  587. <ul class="navList">
  588. <li><a href="../squidpony/MonsterGen.html" title="class in squidpony"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  589. <li><a href="../squidpony/NaturalLanguageCipher.html" title="class in squidpony"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  590. </ul>
  591. <ul class="navList">
  592. <li><a href="../index.html?squidpony/MonsterGen.Chimera.html" target="_top">Frames</a></li>
  593. <li><a href="MonsterGen.Chimera.html" target="_top">No&nbsp;Frames</a></li>
  594. </ul>
  595. <ul class="navList" id="allclasses_navbar_bottom">
  596. <li><a href="../allclasses-noframe.html">All&nbsp;Classes</a></li>
  597. </ul>
  598. <div>
  599. <script type="text/javascript"><!--
  600. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  601. if(window==top) {
  602. allClassesLink.style.display = "block";
  603. }
  604. else {
  605. allClassesLink.style.display = "none";
  606. }
  607. //-->
  608. </script>
  609. </div>
  610. <div>
  611. <ul class="subNavList">
  612. <li>Summary:&nbsp;</li>
  613. <li>Nested&nbsp;|&nbsp;</li>
  614. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  615. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  616. <li><a href="#method.summary">Method</a></li>
  617. </ul>
  618. <ul class="subNavList">
  619. <li>Detail:&nbsp;</li>
  620. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  621. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  622. <li><a href="#method.detail">Method</a></li>
  623. </ul>
  624. </div>
  625. <a name="skip.navbar.bottom">
  626. <!-- -->
  627. </a></div>
  628. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  629. <p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2016. All rights reserved.</small></p>
  630. </body>
  631. </html>