123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc -->
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>MonsterGen.Chimera (squidlib-util 3.0.0-SNAPSHOT)</title>
- <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
- <script type="text/javascript" src="../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="MonsterGen.Chimera (squidlib-util 3.0.0-SNAPSHOT)";
- }
- }
- catch(err) {
- }
- //-->
- var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/MonsterGen.Chimera.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../deprecated-list.html">Deprecated</a></li>
- <li><a href="../index-files/index-1.html">Index</a></li>
- <li><a href="../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../squidpony/MonsterGen.html" title="class in squidpony"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../squidpony/NaturalLanguageCipher.html" title="class in squidpony"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../index.html?squidpony/MonsterGen.Chimera.html" target="_top">Frames</a></li>
- <li><a href="MonsterGen.Chimera.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li><a href="#field.summary">Field</a> | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field.detail">Field</a> | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">squidpony</div>
- <h2 title="Class MonsterGen.Chimera" class="title">Class MonsterGen.Chimera</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <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>
- <li>
- <ul class="inheritance">
- <li>squidpony.MonsterGen.Chimera</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>Enclosing class:</dt>
- <dd><a href="../squidpony/MonsterGen.html" title="class in squidpony">MonsterGen</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public static class <a href="../src-html/squidpony/MonsterGen.html#line.39">MonsterGen.Chimera</a>
- 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>
- <div class="block">A creature that can be mixed with other Chimeras or given additional descriptors, then printed in a usable format
- for game text.</div>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- =========== FIELD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field.summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
- <caption><span>Fields</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Field and Description</th>
- </tr>
- <tr class="altColor">
- <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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#mainForm">mainForm</a></span></code> </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#name">name</a></span></code> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedMap.html" title="class in squidpony.squidmath">OrderedMap</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>,<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><<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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#parts">parts</a></span></code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#powerAdjectives">powerAdjectives</a></span></code> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#powerPhrases">powerPhrases</a></span></code> </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#unknown">unknown</a></span></code> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#unsaidAdjectives">unsaidAdjectives</a></span></code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#wholeAdjectives">wholeAdjectives</a></span></code> </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <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> name,
- <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> other)</code>
- <div class="block">Copies an existing Chimera other into a new Chimera with potentially a different name.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <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> name,
- <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> unknown,
- <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><<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>> parts,
- <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><<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>> unsaid,
- <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><<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>> whole,
- <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><<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>> powerAdj,
- <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><<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>> powerPhr)</code>
- <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
- the creature's basic shape is likely to be unknown to players, and several String Collection args for the
- different aspects of the Chimera.</div>
- </td>
- </tr>
- <tr class="altColor">
- <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> name,
- <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> unknown,
- <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>... terms)</code>
- <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
- the creature's basic shape is likely to be unknown to players, and an array or vararg of String terms
- containing, usually, several groups of String elements separated by the literal string ";" .</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code><a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a></code></td>
- <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> rng,
- <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> newName,
- <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> other,
- double otherInfluence)</code>
- <div class="block">Fuse two Chimera objects by some fraction of influence, using the given RNG and possibly renaming the
- creature.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code><a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a></code></td>
- <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> newName,
- <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> other,
- double otherInfluence)</code>
- <div class="block">Fuse two Chimera objects by some fraction of influence, using the default RNG and possibly renaming the
- creature.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#present-boolean-">present</a></span>(boolean capitalize)</code>
- <div class="block">Get a string description of this monster's appearance and powers.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#presentVisible-boolean-">presentVisible</a></span>(boolean capitalize)</code>
- <div class="block">Get a string description of this monster's appearance.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <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>
- <td class="colLast"><code><span class="memberNameLink"><a href="../squidpony/MonsterGen.Chimera.html#toString--">toString</a></span>()</code> </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class 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>
- <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>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ============ FIELD DETAIL =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field.detail">
- <!-- -->
- </a>
- <h3>Field Detail</h3>
- <a name="parts">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>parts</h4>
- <pre>public <a href="../squidpony/squidmath/OrderedMap.html" title="class in squidpony.squidmath">OrderedMap</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>,<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><<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.41">parts</a></pre>
- </li>
- </ul>
- <a name="unsaidAdjectives">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>unsaidAdjectives</h4>
- <pre>public <a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">unsaidAdjectives</a></pre>
- </li>
- </ul>
- <a name="wholeAdjectives">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>wholeAdjectives</h4>
- <pre>public <a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">wholeAdjectives</a></pre>
- </li>
- </ul>
- <a name="powerAdjectives">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>powerAdjectives</h4>
- <pre>public <a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">powerAdjectives</a></pre>
- </li>
- </ul>
- <a name="powerPhrases">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>powerPhrases</h4>
- <pre>public <a href="../squidpony/squidmath/OrderedSet.html" title="class in squidpony.squidmath">OrderedSet</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>> <a href="../src-html/squidpony/MonsterGen.Chimera.html#line.42">powerPhrases</a></pre>
- </li>
- </ul>
- <a name="name">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>name</h4>
- <pre>public <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>
- </li>
- </ul>
- <a name="mainForm">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>mainForm</h4>
- <pre>public <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>
- </li>
- </ul>
- <a name="unknown">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>unknown</h4>
- <pre>public <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>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="Chimera-java.lang.String-squidpony.MonsterGen.Chimera-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>Chimera</h4>
- <pre>public <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> name,
- <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> other)</pre>
- <div class="block">Copies an existing Chimera other into a new Chimera with potentially a different name.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - the name to use for the Chimera this constructs</dd>
- <dd><code>other</code> - the existing Chimera to copy all fields but name from.</dd>
- </dl>
- </li>
- </ul>
- <a name="Chimera-java.lang.String-java.lang.String-java.lang.String...-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>Chimera</h4>
- <pre>public <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> name,
- <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> unknown,
- <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>... terms)</pre>
- <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
- the creature's basic shape is likely to be unknown to players, and an array or vararg of String terms
- containing, usually, several groups of String elements separated by the literal string ";" . The first group
- in terms contains what body parts this creature has and could potentially grant to another creature if mixed;
- examples are "head", "legs", "claws", "wings", and "eyes". In the next group are the "unsaid" adjectives,
- which are not listed if unknown is false, but may be contributed to other creatures if mixed (mixing a horse
- with a snake may make the horse scaly, since "scaly" is an unsaid adjective for snakes). Next are adjectives
- that apply to the whole creature's appearance, which don't need to replicate the unsaid adjectives and are
- often added as a step to randomize a creature; this part is often empty and simply ends on the separator ";"
- . Next are the power adjectives, which are any special abilities a creature might have that aren't
- immediately visible, like "furious" or "toxic". Last are the power phrases, which follow a format like "can
- cast arcane spells", "embodies the wilderness", or "constantly drools acid"; it should be able to be put in a
- sentence after the word "that", like "a snake that can cast arcane spells".
- <br>
- The unknown argument determines if descriptions need to include basic properties like calling a Snake scaly
- (null in this case) or a Pestilence Fiend chitinous (no one knows what that creature is, so a String needs to
- be given so a player and player character that don't know its name can call it something, like "demon").
- <br>
- An example is <code>Chimera SNAKE = new Chimera("snake", null, "head", "tail", "fangs", "eyes", ";",
- "reptilian", "scaly", "lean", "curvaceous", ";", ";", "toxic");</code></div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - the name to refer to the creature by and its body parts by when mixed</dd>
- <dd><code>unknown</code> - true if the creature's basic shape is unlikely to be known by a player, false for animals and
- possibly common mythological creatures like dragons</dd>
- <dd><code>terms</code> - an array or vararg of String elements, separated by ";" , see method documentation for details</dd>
- </dl>
- </li>
- </ul>
- <a name="Chimera-java.lang.String-java.lang.String-java.util.Collection-java.util.Collection-java.util.Collection-java.util.Collection-java.util.Collection-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>Chimera</h4>
- <pre>public <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> name,
- <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> unknown,
- <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><<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>> parts,
- <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><<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>> unsaid,
- <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><<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>> whole,
- <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><<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>> powerAdj,
- <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><<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>> powerPhr)</pre>
- <div class="block">Constructs a Chimera given a name (typically all lower-case), null if the creature is familiar or a String if
- the creature's basic shape is likely to be unknown to players, and several String Collection args for the
- different aspects of the Chimera. The first Collection contains what body parts this creature has and could
- potentially grant to another creature if mixed; examples are "head", "legs", "claws", "wings", and "eyes".
- The next Collection contains "unsaid" adjectives, which are not listed if unknown is false, but may be
- contributed to other creatures if mixed (mixing a horse with a snake may make the horse scaly, since "scaly"
- is an unsaid adjective for snakes). Next are adjectives that apply to the "whole" creature's appearance,
- which don't need to replicate the unsaid adjectives and are often added as a step to randomize a creature;
- this Collection is often empty. Next are the power adjectives, which are any special abilities a creature
- might have that aren't immediately visible, like "furious" or "toxic". Last are the power phrases, which
- follow a format like "can cast arcane spells", "embodies the wilderness", or "constantly drools acid"; it
- should be able to be put in a sentence after the word "that", like "a snake that can cast arcane spells".
- <br>
- The unknown argument determines if descriptions need to include basic properties like calling a Snake scaly
- (null in this case) or a Pestilence Fiend chitinous (no one knows what that creature is, so a String needs to
- be given so a player and player character that don't know its name can call it something, like "demon").
- <br>
- An example is <code>Chimera SNAKE = new Chimera("snake", null, "head", "tail", "fangs", "eyes", ";",
- "reptilian", "scaly", "lean", "curvaceous", ";", ";", "toxic");</code></div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - the name to refer to the creature by and its body parts by when mixed</dd>
- <dd><code>unknown</code> - true if the creature's basic shape is unlikely to be known by a player, false for animals and
- possibly common mythological creatures like dragons</dd>
- <dd><code>parts</code> - the different body part nouns this creature can contribute to a creature when mixed</dd>
- <dd><code>unsaid</code> - appearance adjectives that don't need to be said if the creature is familiar</dd>
- <dd><code>whole</code> - appearance adjectives that apply to the whole creature</dd>
- <dd><code>powerAdj</code> - power adjectives like "furious" or "fire-breathing"</dd>
- <dd><code>powerPhr</code> - power phrases like "can cast arcane spells"</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="present-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>present</h4>
- <pre>public <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.198">present</a>(boolean capitalize)</pre>
- <div class="block">Get a string description of this monster's appearance and powers.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>capitalize</code> - true if the description should start with a capital letter.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a String description including both appearance and powers</dd>
- </dl>
- </li>
- </ul>
- <a name="presentVisible-boolean-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>presentVisible</h4>
- <pre>public <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.280">presentVisible</a>(boolean capitalize)</pre>
- <div class="block">Get a string description of this monster's appearance.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>capitalize</code> - true if the description should start with a capital letter.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a String description including only the monster's appearance</dd>
- </dl>
- </li>
- </ul>
- <a name="toString--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>toString</h4>
- <pre>public <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.344">toString</a>()</pre>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <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> in class <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>
- </dl>
- </li>
- </ul>
- <a name="mix-squidpony.squidmath.RNG-java.lang.String-squidpony.MonsterGen.Chimera-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>mix</h4>
- <pre>public <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> <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> rng,
- <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> newName,
- <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> other,
- double otherInfluence)</pre>
- <div class="block">Fuse two Chimera objects by some fraction of influence, using the given RNG and possibly renaming the
- creature. Does not modify the existing Chimera objects.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>rng</code> - the RNG to determine random factors</dd>
- <dd><code>newName</code> - the name to call the produced Chimera</dd>
- <dd><code>other</code> - the Chimera to mix with this one</dd>
- <dd><code>otherInfluence</code> - the fraction between 0.0 and 1.0 of descriptors from other to use</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a new Chimera mixing features from both inputs</dd>
- </dl>
- </li>
- </ul>
- <a name="mix-java.lang.String-squidpony.MonsterGen.Chimera-double-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>mix</h4>
- <pre>public <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> <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> newName,
- <a href="../squidpony/MonsterGen.Chimera.html" title="class in squidpony">MonsterGen.Chimera</a> other,
- double otherInfluence)</pre>
- <div class="block">Fuse two Chimera objects by some fraction of influence, using the default RNG and possibly renaming the
- creature. Does not modify the existing Chimera objects.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>newName</code> - the name to call the produced Chimera</dd>
- <dd><code>other</code> - the Chimera to mix with this one</dd>
- <dd><code>otherInfluence</code> - the fraction between 0.0 and 1.0 of descriptors from other to use</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a new Chimera mixing features from both inputs</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/MonsterGen.Chimera.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../deprecated-list.html">Deprecated</a></li>
- <li><a href="../index-files/index-1.html">Index</a></li>
- <li><a href="../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../squidpony/MonsterGen.html" title="class in squidpony"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../squidpony/NaturalLanguageCipher.html" title="class in squidpony"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../index.html?squidpony/MonsterGen.Chimera.html" target="_top">Frames</a></li>
- <li><a href="MonsterGen.Chimera.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li><a href="#field.summary">Field</a> | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field.detail">Field</a> | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <p class="legalCopy"><small>Copyright © 2012–2016. All rights reserved.</small></p>
- </body>
- </html>
|