diff --git a/.classpath b/.classpath
deleted file mode 100644
index 6dde599..0000000
--- a/.classpath
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html new file mode 100644 index 0000000..1a45bd0 --- /dev/null +++ b/apidocs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/help-doc.html b/apidocs/help-doc.html new file mode 100644 index 0000000..c0366ad --- /dev/null +++ b/apidocs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/index-all.html b/apidocs/index-all.html new file mode 100644 index 0000000..f49612c --- /dev/null +++ b/apidocs/index-all.html @@ -0,0 +1,691 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/index.html b/apidocs/index.html new file mode 100644 index 0000000..822a7dd --- /dev/null +++ b/apidocs/index.html @@ -0,0 +1,75 @@ + + + + + + ++ + diff --git a/apidocs/overview-summary.html b/apidocs/overview-summary.html new file mode 100644 index 0000000..6d08ef3 --- /dev/null +++ b/apidocs/overview-summary.html @@ -0,0 +1,160 @@ + + + + + + +
Package | +Description | +
---|---|
uk.me.webpigeon.behaviour | ++ |
uk.me.webpigeon.piers | ++ |
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.strawberry | ++ |
uk.me.webpigeon.util | ++ |
uk.me.webpigeon.world | ++ |
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html new file mode 100644 index 0000000..2f707cf --- /dev/null +++ b/apidocs/overview-tree.html @@ -0,0 +1,207 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/package-list b/apidocs/package-list new file mode 100644 index 0000000..1ed74d8 --- /dev/null +++ b/apidocs/package-list @@ -0,0 +1,6 @@ +uk.me.webpigeon.behaviour +uk.me.webpigeon.piers +uk.me.webpigeon.steering +uk.me.webpigeon.strawberry +uk.me.webpigeon.util +uk.me.webpigeon.world diff --git a/apidocs/script.js b/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/apidocs/serialized-form.html b/apidocs/serialized-form.html new file mode 100644 index 0000000..3a00a2c --- /dev/null +++ b/apidocs/serialized-form.html @@ -0,0 +1,264 @@ + + + + + + +StrawberryWorld world+
int gridSize+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/stylesheet.css b/apidocs/stylesheet.css new file mode 100644 index 0000000..cebb4fd --- /dev/null +++ b/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/apidocs/uk/me/webpigeon/behaviour/NDSelectorNode.html b/apidocs/uk/me/webpigeon/behaviour/NDSelectorNode.html new file mode 100644 index 0000000..5d53670 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/NDSelectorNode.html @@ -0,0 +1,315 @@ + + + + + + +public class NDSelectorNode +extends SelectorNode+
Constructor and Description | +
---|
NDSelectorNode() |
+
Modifier and Type | +Method and Description | +
---|---|
Collection<TreeNode> |
+getChildren()
+Get all children of this node.
+ |
+
eval
getChild, getChildrenSize, isLeaf
public Collection<TreeNode> getChildren()+
TreeNode
getChildren
in class TreeNode
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/NDSequenceNode.html b/apidocs/uk/me/webpigeon/behaviour/NDSequenceNode.html new file mode 100644 index 0000000..c8221c3 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/NDSequenceNode.html @@ -0,0 +1,315 @@ + + + + + + +public class NDSequenceNode +extends SequenceNode+
Constructor and Description | +
---|
NDSequenceNode() |
+
Modifier and Type | +Method and Description | +
---|---|
Collection<TreeNode> |
+getChildren()
+Get all children of this node.
+ |
+
eval
getChild, getChildrenSize, isLeaf
public Collection<TreeNode> getChildren()+
TreeNode
getChildren
in class TreeNode
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/SelectorNode.html b/apidocs/uk/me/webpigeon/behaviour/SelectorNode.html new file mode 100644 index 0000000..2a4e585 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/SelectorNode.html @@ -0,0 +1,306 @@ + + + + + + +public class SelectorNode +extends TreeNode+
Constructor and Description | +
---|
SelectorNode(TreeNode... children) |
+
Modifier and Type | +Method and Description | +
---|---|
Boolean |
+eval()
+Evaluate all child nodes in order from 0 ...
+ |
+
getChild, getChildren, getChildrenSize, isLeaf
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/SequenceNode.html b/apidocs/uk/me/webpigeon/behaviour/SequenceNode.html new file mode 100644 index 0000000..83ecef6 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/SequenceNode.html @@ -0,0 +1,306 @@ + + + + + + +public class SequenceNode +extends TreeNode+
Constructor and Description | +
---|
SequenceNode(TreeNode... children) |
+
Modifier and Type | +Method and Description | +
---|---|
Boolean |
+eval()
+Evaluate all child nodes in order from 0 ...
+ |
+
getChild, getChildren, getChildrenSize, isLeaf
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/TreeNode.html b/apidocs/uk/me/webpigeon/behaviour/TreeNode.html new file mode 100644 index 0000000..f479be8 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/TreeNode.html @@ -0,0 +1,407 @@ + + + + + + +public abstract class TreeNode +extends Object+
Constructor and Description | +
---|
TreeNode(int size)
+Create a new TreeNode.
+ |
+
TreeNode(TreeNode... childrenC)
+Create a new TreeNode.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
abstract Boolean |
+eval()
+Evaluate this node and return true if it was successfully evaluated.
+ |
+
TreeNode |
+getChild(int n)
+Get the nth child from this node.
+ |
+
Collection<TreeNode> |
+getChildren()
+Get all children of this node.
+ |
+
int |
+getChildrenSize()
+Return the number of children this node has.
+ |
+
boolean |
+isLeaf()
+If this node has no children, this returns True.
+ |
+
public TreeNode(TreeNode... childrenC)+
childrenC
- the list of child nodespublic TreeNode(int size)+
size
- the initial size of the backing arraylist for childrenpublic Collection<TreeNode> getChildren()+
public TreeNode getChild(int n)+
n
- the number of the child to look forpublic int getChildrenSize()+
public boolean isLeaf()+
public abstract Boolean eval()+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/class-use/NDSelectorNode.html b/apidocs/uk/me/webpigeon/behaviour/class-use/NDSelectorNode.html new file mode 100644 index 0000000..dcde3a4 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/class-use/NDSelectorNode.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/class-use/NDSequenceNode.html b/apidocs/uk/me/webpigeon/behaviour/class-use/NDSequenceNode.html new file mode 100644 index 0000000..63cfe1a --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/class-use/NDSequenceNode.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/class-use/SelectorNode.html b/apidocs/uk/me/webpigeon/behaviour/class-use/SelectorNode.html new file mode 100644 index 0000000..05a14a4 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/class-use/SelectorNode.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.behaviour | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+NDSelectorNode
+Nondeterministic Selector Node
+
+ Evaluate all nodes in order from 0 to random, if any node returns true
+ stop evaluating and returns true.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/class-use/SequenceNode.html b/apidocs/uk/me/webpigeon/behaviour/class-use/SequenceNode.html new file mode 100644 index 0000000..5f1a508 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/class-use/SequenceNode.html @@ -0,0 +1,171 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.behaviour | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+NDSequenceNode
+Nondeterministic Sequence Node
+
+ Evaluate all nodes in order from 0 to random, if all nodes return true
+ then return true, else return false.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/class-use/TreeNode.html b/apidocs/uk/me/webpigeon/behaviour/class-use/TreeNode.html new file mode 100644 index 0000000..03ecb10 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/class-use/TreeNode.html @@ -0,0 +1,291 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.behaviour | ++ |
uk.me.webpigeon.world | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+NDSelectorNode
+Nondeterministic Selector Node
+
+ Evaluate all nodes in order from 0 to random, if any node returns true
+ stop evaluating and returns true.
+ |
+
class |
+NDSequenceNode
+Nondeterministic Sequence Node
+
+ Evaluate all nodes in order from 0 to random, if all nodes return true
+ then return true, else return false.
+ |
+
class |
+SelectorNode
+Selector Node
+
+ Evaluate all nodes in order from 0 to N, if any node returns true
+ stop evaluating and returns true.
+ |
+
class |
+SequenceNode
+Sequence Node
+
+ Evaluate all nodes in order from 0 to N, if all nodes return true
+ then return true, else return false.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
TreeNode |
+TreeNode.getChild(int n)
+Get the nth child from this node.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Collection<TreeNode> |
+TreeNode.getChildren()
+Get all children of this node.
+ |
+
Collection<TreeNode> |
+NDSequenceNode.getChildren() |
+
Collection<TreeNode> |
+NDSelectorNode.getChildren() |
+
Constructor and Description | +
---|
SelectorNode(TreeNode... children) |
+
SequenceNode(TreeNode... children) |
+
TreeNode(TreeNode... childrenC)
+Create a new TreeNode.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
static TreeNode |
+BehaviourRegistry.getBehaviour(String uniqueName) |
+
Modifier and Type | +Method and Description | +
---|---|
static void |
+BehaviourRegistry.registerBehaviour(String uniqueName,
+ TreeNode behaviour) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/package-frame.html b/apidocs/uk/me/webpigeon/behaviour/package-frame.html new file mode 100644 index 0000000..2c61b97 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +Class | +Description | +
---|---|
NDSelectorNode | +
+ Nondeterministic Selector Node
+
+ Evaluate all nodes in order from 0 to random, if any node returns true
+ stop evaluating and returns true.
+ |
+
NDSequenceNode | +
+ Nondeterministic Sequence Node
+
+ Evaluate all nodes in order from 0 to random, if all nodes return true
+ then return true, else return false.
+ |
+
SelectorNode | +
+ Selector Node
+
+ Evaluate all nodes in order from 0 to N, if any node returns true
+ stop evaluating and returns true.
+ |
+
SequenceNode | +
+ Sequence Node
+
+ Evaluate all nodes in order from 0 to N, if all nodes return true
+ then return true, else return false.
+ |
+
TreeNode | +
+ Base Behaviour Tree Node.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/package-tree.html b/apidocs/uk/me/webpigeon/behaviour/package-tree.html new file mode 100644 index 0000000..a59b384 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/behaviour/package-use.html b/apidocs/uk/me/webpigeon/behaviour/package-use.html new file mode 100644 index 0000000..2b225d3 --- /dev/null +++ b/apidocs/uk/me/webpigeon/behaviour/package-use.html @@ -0,0 +1,198 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.behaviour | ++ |
uk.me.webpigeon.world | ++ |
Class and Description | +
---|
SelectorNode
+ Selector Node
+
+ Evaluate all nodes in order from 0 to N, if any node returns true
+ stop evaluating and returns true.
+ |
+
SequenceNode
+ Sequence Node
+
+ Evaluate all nodes in order from 0 to N, if all nodes return true
+ then return true, else return false.
+ |
+
TreeNode
+ Base Behaviour Tree Node.
+ |
+
Class and Description | +
---|
TreeNode
+ Base Behaviour Tree Node.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/piers/HunterAgent.html b/apidocs/uk/me/webpigeon/piers/HunterAgent.html new file mode 100644 index 0000000..1b5b04e --- /dev/null +++ b/apidocs/uk/me/webpigeon/piers/HunterAgent.html @@ -0,0 +1,243 @@ + + + + + + +public class HunterAgent +extends Object+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/piers/class-use/HunterAgent.html b/apidocs/uk/me/webpigeon/piers/class-use/HunterAgent.html new file mode 100644 index 0000000..23a62d6 --- /dev/null +++ b/apidocs/uk/me/webpigeon/piers/class-use/HunterAgent.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/piers/package-frame.html b/apidocs/uk/me/webpigeon/piers/package-frame.html new file mode 100644 index 0000000..8bdf032 --- /dev/null +++ b/apidocs/uk/me/webpigeon/piers/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +Class | +Description | +
---|---|
HunterAgent | +
+ Created by Piers on 04/03/2015.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/piers/package-tree.html b/apidocs/uk/me/webpigeon/piers/package-tree.html new file mode 100644 index 0000000..e3787a8 --- /dev/null +++ b/apidocs/uk/me/webpigeon/piers/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/piers/package-use.html b/apidocs/uk/me/webpigeon/piers/package-use.html new file mode 100644 index 0000000..d60e29e --- /dev/null +++ b/apidocs/uk/me/webpigeon/piers/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/FleeBehaviour.html b/apidocs/uk/me/webpigeon/steering/FleeBehaviour.html new file mode 100644 index 0000000..3e6d417 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/FleeBehaviour.html @@ -0,0 +1,344 @@ + + + + + + +public class FleeBehaviour +extends Object +implements SteeringBehaviour+
Constructor and Description | +
---|
FleeBehaviour(Vector2D targetPos) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+debugDraw(Graphics2D g)
+Draw debug visualisations for this behaviour.
+ |
+
Vector2D |
+process()
+process this behaviour and return it's resultant vector.
+ |
+
public FleeBehaviour(Vector2D targetPos)+
public void bind(Entity entity)+
SteeringBehaviour
bind
in interface SteeringBehaviour
entity
- the entity this behavour is bound topublic Vector2D process()+
SteeringBehaviour
process
in interface SteeringBehaviour
q
- the target positionpublic void debugDraw(Graphics2D g)+
SteeringBehaviour
debugDraw
in interface SteeringBehaviour
g
- the graphics objects to use to draw debug graphicsCopyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/SeekBehaviour.html b/apidocs/uk/me/webpigeon/steering/SeekBehaviour.html new file mode 100644 index 0000000..f39ef5b --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/SeekBehaviour.html @@ -0,0 +1,356 @@ + + + + + + +public class SeekBehaviour +extends Object +implements SteeringBehaviour+
Constructor and Description | +
---|
SeekBehaviour(Vector2D targetPos) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+debugDraw(Graphics2D g)
+Draw debug visualisations for this behaviour.
+ |
+
Vector2D |
+process()
+process this behaviour and return it's resultant vector.
+ |
+
void |
+setTarget(Vector2D seekTarget) |
+
public SeekBehaviour(Vector2D targetPos)+
public Vector2D process()+
SteeringBehaviour
process
in interface SteeringBehaviour
public void bind(Entity entity)+
SteeringBehaviour
bind
in interface SteeringBehaviour
entity
- the entity this behavour is bound topublic void setTarget(Vector2D seekTarget)+
public void debugDraw(Graphics2D g)+
SteeringBehaviour
debugDraw
in interface SteeringBehaviour
g
- the graphics objects to use to draw debug graphicsCopyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/SteeringBehaviour.html b/apidocs/uk/me/webpigeon/steering/SteeringBehaviour.html new file mode 100644 index 0000000..9a9826a --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/SteeringBehaviour.html @@ -0,0 +1,284 @@ + + + + + + +public interface SteeringBehaviour
+Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+debugDraw(Graphics2D g)
+Draw debug visualisations for this behaviour.
+ |
+
Vector2D |
+process()
+process this behaviour and return it's resultant vector.
+ |
+
void bind(Entity entity)+
entity
- the entity this behavour is bound toVector2D process()+
void debugDraw(Graphics2D g)+
g
- the graphics objects to use to draw debug graphicsCopyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/WanderingBehaviour.html b/apidocs/uk/me/webpigeon/steering/WanderingBehaviour.html new file mode 100644 index 0000000..41dabe2 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/WanderingBehaviour.html @@ -0,0 +1,344 @@ + + + + + + +public class WanderingBehaviour +extends Object +implements SteeringBehaviour+
Constructor and Description | +
---|
WanderingBehaviour() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+debugDraw(Graphics2D g)
+Draw debug visualisations for this behaviour.
+ |
+
Vector2D |
+process()
+process this behaviour and return it's resultant vector.
+ |
+
public Vector2D process()+
SteeringBehaviour
process
in interface SteeringBehaviour
public void bind(Entity entity)+
SteeringBehaviour
bind
in interface SteeringBehaviour
entity
- the entity this behavour is bound topublic void debugDraw(Graphics2D g)+
SteeringBehaviour
debugDraw
in interface SteeringBehaviour
g
- the graphics objects to use to draw debug graphicsCopyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/WeightedBehaviour.html b/apidocs/uk/me/webpigeon/steering/WeightedBehaviour.html new file mode 100644 index 0000000..0dc380b --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/WeightedBehaviour.html @@ -0,0 +1,358 @@ + + + + + + +public class WeightedBehaviour +extends Object +implements SteeringBehaviour+
Constructor and Description | +
---|
WeightedBehaviour() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addBehavour(SteeringBehaviour behaviour,
+ double weight) |
+
void |
+bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+debugDraw(Graphics2D g)
+Draw debug visualisations for this behaviour.
+ |
+
Vector2D |
+process()
+process this behaviour and return it's resultant vector.
+ |
+
public void addBehavour(SteeringBehaviour behaviour, + double weight)+
public Vector2D process()+
SteeringBehaviour
process
in interface SteeringBehaviour
public void bind(Entity entity)+
SteeringBehaviour
bind
in interface SteeringBehaviour
entity
- the entity this behavour is bound topublic void debugDraw(Graphics2D g)+
SteeringBehaviour
debugDraw
in interface SteeringBehaviour
g
- the graphics objects to use to draw debug graphicsCopyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/WonderBehaviour.html b/apidocs/uk/me/webpigeon/steering/WonderBehaviour.html new file mode 100644 index 0000000..1841ddd --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/WonderBehaviour.html @@ -0,0 +1,343 @@ + + + + + + +public class WonderBehaviour +extends Object +implements SteeringBehaviour+
Constructor and Description | +
---|
WonderBehaviour() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+debugDraw(Graphics2D g)
+Draw debug visualisations for this behaviour.
+ |
+
Vector2D |
+process()
+process this behaviour and return it's resultant vector.
+ |
+
public void bind(Entity entity)+
SteeringBehaviour
bind
in interface SteeringBehaviour
entity
- the entity this behavour is bound topublic Vector2D process()+
SteeringBehaviour
process
in interface SteeringBehaviour
public void debugDraw(Graphics2D g)+
SteeringBehaviour
debugDraw
in interface SteeringBehaviour
g
- the graphics objects to use to draw debug graphicsCopyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/class-use/FleeBehaviour.html b/apidocs/uk/me/webpigeon/steering/class-use/FleeBehaviour.html new file mode 100644 index 0000000..f9c0169 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/class-use/FleeBehaviour.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/class-use/SeekBehaviour.html b/apidocs/uk/me/webpigeon/steering/class-use/SeekBehaviour.html new file mode 100644 index 0000000..a48cf97 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/class-use/SeekBehaviour.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/class-use/SteeringBehaviour.html b/apidocs/uk/me/webpigeon/steering/class-use/SteeringBehaviour.html new file mode 100644 index 0000000..8d7234f --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/class-use/SteeringBehaviour.html @@ -0,0 +1,220 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.world | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+FleeBehaviour |
+
class |
+SeekBehaviour |
+
class |
+WanderingBehaviour
+Created by Piers on 04/03/2015.
+ |
+
class |
+WeightedBehaviour |
+
class |
+WonderBehaviour |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+WeightedBehaviour.addBehavour(SteeringBehaviour behaviour,
+ double weight) |
+
Constructor and Description | +
---|
SteeringEntity(int x,
+ int y,
+ SteeringBehaviour behaviour) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/class-use/WanderingBehaviour.html b/apidocs/uk/me/webpigeon/steering/class-use/WanderingBehaviour.html new file mode 100644 index 0000000..eb8895c --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/class-use/WanderingBehaviour.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/class-use/WeightedBehaviour.html b/apidocs/uk/me/webpigeon/steering/class-use/WeightedBehaviour.html new file mode 100644 index 0000000..2832606 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/class-use/WeightedBehaviour.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/class-use/WonderBehaviour.html b/apidocs/uk/me/webpigeon/steering/class-use/WonderBehaviour.html new file mode 100644 index 0000000..c39f1a9 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/class-use/WonderBehaviour.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/package-frame.html b/apidocs/uk/me/webpigeon/steering/package-frame.html new file mode 100644 index 0000000..2b111d1 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Interface | +Description | +
---|---|
SteeringBehaviour | +
+ This interface defines steering behaviours.
+ |
+
Class | +Description | +
---|---|
FleeBehaviour | ++ |
SeekBehaviour | ++ |
WanderingBehaviour | +
+ Created by Piers on 04/03/2015.
+ |
+
WeightedBehaviour | ++ |
WonderBehaviour | ++ |
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/package-tree.html b/apidocs/uk/me/webpigeon/steering/package-tree.html new file mode 100644 index 0000000..5ec988d --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/steering/package-use.html b/apidocs/uk/me/webpigeon/steering/package-use.html new file mode 100644 index 0000000..9f1a082 --- /dev/null +++ b/apidocs/uk/me/webpigeon/steering/package-use.html @@ -0,0 +1,182 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.world | ++ |
Class and Description | +
---|
SteeringBehaviour
+ This interface defines steering behaviours.
+ |
+
Class and Description | +
---|
SteeringBehaviour
+ This interface defines steering behaviours.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/Strawberry.html b/apidocs/uk/me/webpigeon/strawberry/Strawberry.html new file mode 100644 index 0000000..028faf5 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/Strawberry.html @@ -0,0 +1,301 @@ + + + + + + +public class Strawberry +extends Object+
Constructor and Description | +
---|
Strawberry(int x,
+ int y) |
+
Strawberry(Vector2D location) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+draw(Graphics2D graphics2D) |
+
void |
+update(StrawberryWorld world) |
+
public Strawberry(int x, + int y)+
public Strawberry(Vector2D location)+
public void update(StrawberryWorld world)+
public void draw(Graphics2D graphics2D)+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/StrawberryApplet.html b/apidocs/uk/me/webpigeon/strawberry/StrawberryApplet.html new file mode 100644 index 0000000..e3cbda9 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/StrawberryApplet.html @@ -0,0 +1,388 @@ + + + + + + +public class StrawberryApplet +extends Applet+
Component.BaselineResizeBehavior
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description | +
---|
StrawberryApplet() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+init() |
+
void |
+paint(Graphics g) |
+
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/StrawberryWorld.html b/apidocs/uk/me/webpigeon/strawberry/StrawberryWorld.html new file mode 100644 index 0000000..a29c631 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/StrawberryWorld.html @@ -0,0 +1,473 @@ + + + + + + +public class StrawberryWorld +extends JComponent +implements Runnable+
JComponent.AccessibleJComponent
Component.BaselineResizeBehavior
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description | +
---|
StrawberryWorld(int width,
+ int height) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addStrawberry(Strawberry strawberry) |
+
void |
+eugenics() |
+
void |
+generateSimplexNoise() |
+
Dimension |
+getPreferredSize() |
+
static void |
+main(String[] args) |
+
static double |
+noise(double xin,
+ double yin) |
+
void |
+run() |
+
void |
+update() |
+
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public StrawberryWorld(int width, + int height)+
public Dimension getPreferredSize()+
getPreferredSize
in class JComponent
public static void main(String[] args)+
public void update()+
public void eugenics()+
public void addStrawberry(Strawberry strawberry)+
public void generateSimplexNoise()+
public static double noise(double xin, + double yin)+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/class-use/Strawberry.html b/apidocs/uk/me/webpigeon/strawberry/class-use/Strawberry.html new file mode 100644 index 0000000..d526b22 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/class-use/Strawberry.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.strawberry | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+StrawberryWorld.addStrawberry(Strawberry strawberry) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/class-use/StrawberryApplet.html b/apidocs/uk/me/webpigeon/strawberry/class-use/StrawberryApplet.html new file mode 100644 index 0000000..4d17101 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/class-use/StrawberryApplet.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/class-use/StrawberryWorld.html b/apidocs/uk/me/webpigeon/strawberry/class-use/StrawberryWorld.html new file mode 100644 index 0000000..bb59155 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/class-use/StrawberryWorld.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.strawberry | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+Strawberry.update(StrawberryWorld world) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/package-frame.html b/apidocs/uk/me/webpigeon/strawberry/package-frame.html new file mode 100644 index 0000000..cac0708 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +Class | +Description | +
---|---|
Strawberry | +
+ Created by Piers on 05/03/2015.
+ |
+
StrawberryApplet | +
+ Created by Piers on 05/03/2015.
+ |
+
StrawberryWorld | +
+ Created by Piers on 05/03/2015.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/package-tree.html b/apidocs/uk/me/webpigeon/strawberry/package-tree.html new file mode 100644 index 0000000..6081f4d --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/strawberry/package-use.html b/apidocs/uk/me/webpigeon/strawberry/package-use.html new file mode 100644 index 0000000..ae77881 --- /dev/null +++ b/apidocs/uk/me/webpigeon/strawberry/package-use.html @@ -0,0 +1,166 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.strawberry | ++ |
Class and Description | +
---|
Strawberry
+ Created by Piers on 05/03/2015.
+ |
+
StrawberryWorld
+ Created by Piers on 05/03/2015.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/CachedVector2DSource.html b/apidocs/uk/me/webpigeon/util/CachedVector2DSource.html new file mode 100644 index 0000000..08b7726 --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/CachedVector2DSource.html @@ -0,0 +1,306 @@ + + + + + + +public class CachedVector2DSource +extends Object+
Constructor and Description | +
---|
CachedVector2DSource(int width,
+ int height) |
+
Modifier and Type | +Method and Description | +
---|---|
Vector2D |
+getVector(double x,
+ double y) |
+
Vector2D |
+getVector(int x,
+ int y) |
+
int |
+numberOfVectors() |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/Vector2D.html b/apidocs/uk/me/webpigeon/util/Vector2D.html new file mode 100644 index 0000000..69453b8 --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/Vector2D.html @@ -0,0 +1,1042 @@ + + + + + + +public final class Vector2D +extends Object+
Modifier and Type | +Field and Description | +
---|---|
double |
+x |
+
double |
+y |
+
Constructor and Description | +
---|
Vector2D()
+Create a new immutable vector of size (0,0).
+ |
+
Vector2D(boolean mutable)
+Create a new vector of size (0,0).
+ |
+
Vector2D(double x,
+ double y)
+Create a new immutable vector of a user defined size.
+ |
+
Vector2D(double x,
+ double y,
+ boolean mutable)
+Create a new vector of a user defined size.
+ |
+
Vector2D(Vector2D v)
+Create an immutable copy of vector which is a copy of another vector.
+ |
+
Vector2D(Vector2D v,
+ boolean mutable)
+Create an immutable copy of vector which is a copy of another vector.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+add(double x,
+ double y) |
+
void |
+add(Vector2D v) |
+
void |
+add(Vector2D v,
+ double fac) |
+
static Vector2D |
+add(Vector2D first,
+ double x,
+ double y) |
+
static Vector2D |
+add(Vector2D first,
+ Vector2D second) |
+
static Vector2D |
+add(Vector2D first,
+ Vector2D second,
+ double fac) |
+
double |
+angleBetween(Vector2D v) |
+
void |
+clone(Vector2D target) |
+
static void |
+clone(Vector2D target,
+ Vector2D source) |
+
double |
+dist(Vector2D v) |
+
void |
+divide(double fac) |
+
static Vector2D |
+divide(Vector2D first,
+ double fac) |
+
boolean |
+equals(Object o) |
+
Vector2D |
+getNormalDirectionBetween(Vector2D other) |
+
double |
+getR() |
+
static Vector2D |
+getRandomCartesian(double xLimit,
+ double yLimit,
+ boolean mutable) |
+
static Vector2D |
+getRandomPolar(double angleRange,
+ double speedMin,
+ double speedMax,
+ boolean mutable) |
+
double |
+getTheta() |
+
double |
+getX() |
+
double |
+getY() |
+
int |
+hashCode() |
+
double |
+mag() |
+
void |
+multiply(double fac) |
+
static Vector2D |
+multiply(Vector2D first) |
+
static Vector2D |
+multiply(Vector2D first,
+ double fac) |
+
void |
+normalise() |
+
static Vector2D |
+normalise(Vector2D first) |
+
void |
+rotate(double theta) |
+
boolean |
+roughlyEquals(Object o,
+ float eps) |
+
double |
+scalarProduct(Vector2D v) |
+
static Vector2D |
+scalarProduct(Vector2D v1,
+ Vector2D v2) |
+
void |
+set(double x,
+ double y)
+Update the position of this vector.
+ |
+
void |
+set(Vector2D v)
+Update the position of this vector.
+ |
+
void |
+subtract(double x,
+ double y) |
+
void |
+subtract(Vector2D v) |
+
static Vector2D |
+subtract(Vector2D first,
+ double x,
+ double y) |
+
static Vector2D |
+subtract(Vector2D first,
+ Vector2D second) |
+
double |
+theta() |
+
static Vector2D |
+toCartesian(Vector2D input) |
+
static Vector2D |
+toPolar(Vector2D input) |
+
String |
+toString() |
+
void |
+wrap(double w,
+ double h) |
+
public Vector2D()+
public Vector2D(boolean mutable)+
mutable
- true if vector can be modifiedpublic Vector2D(double x, + double y)+
x
- the x componenty
- the y componentpublic Vector2D(double x, + double y, + boolean mutable)+
x
- the x componenty
- the y componentmutable
- true if vector can be modifiedpublic Vector2D(Vector2D v)+
v
- the vector to copypublic Vector2D(Vector2D v, + boolean mutable)+
v
- the vector to copymutable
- true if vector can be modifiedpublic void set(double x, + double y)+
x
- the new x position of this vectory
- the new y position of this vectorIllegalArgumentException
- is this is an immutable vectorpublic void set(Vector2D v)+
v
- the vector to copy fromIllegalArgumentException
- is this is an immutable vectorpublic boolean roughlyEquals(Object o, + float eps)+
public double mag()+
public double theta()+
public double angleBetween(Vector2D v)+
public void add(Vector2D v)+
public void add(double x, + double y)+
public void add(Vector2D v, + double fac)+
public void subtract(Vector2D v)+
public void subtract(double x, + double y)+
public void multiply(double fac)+
public void divide(double fac)+
public void wrap(double w, + double h)+
public void rotate(double theta)+
public double scalarProduct(Vector2D v)+
public double dist(Vector2D v)+
public void clone(Vector2D target)+
public void normalise()+
public double getX()+
public double getR()+
public double getY()+
public double getTheta()+
public static Vector2D getRandomCartesian(double xLimit, + double yLimit, + boolean mutable)+
public static Vector2D getRandomPolar(double angleRange, + double speedMin, + double speedMax, + boolean mutable)+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/class-use/CachedVector2DSource.html b/apidocs/uk/me/webpigeon/util/class-use/CachedVector2DSource.html new file mode 100644 index 0000000..0b7b784 --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/class-use/CachedVector2DSource.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/class-use/Vector2D.html b/apidocs/uk/me/webpigeon/util/class-use/Vector2D.html new file mode 100644 index 0000000..1f30177 --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/class-use/Vector2D.html @@ -0,0 +1,507 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.strawberry | ++ |
uk.me.webpigeon.util | ++ |
uk.me.webpigeon.world | ++ |
Modifier and Type | +Method and Description | +
---|---|
Vector2D |
+WanderingBehaviour.process() |
+
Vector2D |
+SeekBehaviour.process() |
+
Vector2D |
+SteeringBehaviour.process()
+process this behaviour and return it's resultant vector.
+ |
+
Vector2D |
+WonderBehaviour.process() |
+
Vector2D |
+FleeBehaviour.process() |
+
Vector2D |
+WeightedBehaviour.process() |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+SeekBehaviour.setTarget(Vector2D seekTarget) |
+
Constructor and Description | +
---|
FleeBehaviour(Vector2D targetPos) |
+
SeekBehaviour(Vector2D targetPos) |
+
Constructor and Description | +
---|
Strawberry(Vector2D location) |
+
Modifier and Type | +Method and Description | +
---|---|
static Vector2D |
+Vector2D.add(Vector2D first,
+ double x,
+ double y) |
+
static Vector2D |
+Vector2D.add(Vector2D first,
+ Vector2D second) |
+
static Vector2D |
+Vector2D.add(Vector2D first,
+ Vector2D second,
+ double fac) |
+
static Vector2D |
+Vector2D.divide(Vector2D first,
+ double fac) |
+
Vector2D |
+Vector2D.getNormalDirectionBetween(Vector2D other) |
+
static Vector2D |
+Vector2D.getRandomCartesian(double xLimit,
+ double yLimit,
+ boolean mutable) |
+
static Vector2D |
+Vector2D.getRandomPolar(double angleRange,
+ double speedMin,
+ double speedMax,
+ boolean mutable) |
+
Vector2D |
+CachedVector2DSource.getVector(double x,
+ double y) |
+
Vector2D |
+CachedVector2DSource.getVector(int x,
+ int y) |
+
static Vector2D |
+Vector2D.multiply(Vector2D first) |
+
static Vector2D |
+Vector2D.multiply(Vector2D first,
+ double fac) |
+
static Vector2D |
+Vector2D.normalise(Vector2D first) |
+
static Vector2D |
+Vector2D.scalarProduct(Vector2D v1,
+ Vector2D v2) |
+
static Vector2D |
+Vector2D.subtract(Vector2D first,
+ double x,
+ double y) |
+
static Vector2D |
+Vector2D.subtract(Vector2D first,
+ Vector2D second) |
+
static Vector2D |
+Vector2D.toCartesian(Vector2D input) |
+
static Vector2D |
+Vector2D.toPolar(Vector2D input) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+Vector2D.add(Vector2D v) |
+
void |
+Vector2D.add(Vector2D v,
+ double fac) |
+
static Vector2D |
+Vector2D.add(Vector2D first,
+ double x,
+ double y) |
+
static Vector2D |
+Vector2D.add(Vector2D first,
+ Vector2D second) |
+
static Vector2D |
+Vector2D.add(Vector2D first,
+ Vector2D second,
+ double fac) |
+
double |
+Vector2D.angleBetween(Vector2D v) |
+
void |
+Vector2D.clone(Vector2D target) |
+
static void |
+Vector2D.clone(Vector2D target,
+ Vector2D source) |
+
double |
+Vector2D.dist(Vector2D v) |
+
static Vector2D |
+Vector2D.divide(Vector2D first,
+ double fac) |
+
Vector2D |
+Vector2D.getNormalDirectionBetween(Vector2D other) |
+
static Vector2D |
+Vector2D.multiply(Vector2D first) |
+
static Vector2D |
+Vector2D.multiply(Vector2D first,
+ double fac) |
+
static Vector2D |
+Vector2D.normalise(Vector2D first) |
+
double |
+Vector2D.scalarProduct(Vector2D v) |
+
static Vector2D |
+Vector2D.scalarProduct(Vector2D v1,
+ Vector2D v2) |
+
void |
+Vector2D.set(Vector2D v)
+Update the position of this vector.
+ |
+
void |
+Vector2D.subtract(Vector2D v) |
+
static Vector2D |
+Vector2D.subtract(Vector2D first,
+ double x,
+ double y) |
+
static Vector2D |
+Vector2D.subtract(Vector2D first,
+ Vector2D second) |
+
static Vector2D |
+Vector2D.toCartesian(Vector2D input) |
+
static Vector2D |
+Vector2D.toPolar(Vector2D input) |
+
Constructor and Description | +
---|
Vector2D(Vector2D v)
+Create an immutable copy of vector which is a copy of another vector.
+ |
+
Vector2D(Vector2D v,
+ boolean mutable)
+Create an immutable copy of vector which is a copy of another vector.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
Vector2D |
+Entity.getLocation() |
+
Vector2D |
+Entity.getVelocity() |
+
Constructor and Description | +
---|
GrassEntity(Vector2D location) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/package-frame.html b/apidocs/uk/me/webpigeon/util/package-frame.html new file mode 100644 index 0000000..6cc6194 --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +Class | +Description | +
---|---|
CachedVector2DSource | +
+ Caches Vector2D's
+ |
+
Vector2D | ++ |
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/package-tree.html b/apidocs/uk/me/webpigeon/util/package-tree.html new file mode 100644 index 0000000..eb7493c --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/package-tree.html @@ -0,0 +1,140 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/util/package-use.html b/apidocs/uk/me/webpigeon/util/package-use.html new file mode 100644 index 0000000..f74a733 --- /dev/null +++ b/apidocs/uk/me/webpigeon/util/package-use.html @@ -0,0 +1,216 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.strawberry | ++ |
uk.me.webpigeon.util | ++ |
uk.me.webpigeon.world | ++ |
Class and Description | +
---|
Vector2D | +
Class and Description | +
---|
Vector2D | +
Class and Description | +
---|
Vector2D | +
Class and Description | +
---|
Vector2D | +
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/BehaviourEntity.html b/apidocs/uk/me/webpigeon/world/BehaviourEntity.html new file mode 100644 index 0000000..8e8352e --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/BehaviourEntity.html @@ -0,0 +1,343 @@ + + + + + + +public class BehaviourEntity +extends Entity+
Modifier and Type | +Field and Description | +
---|---|
String |
+entityBehaviourName |
+
Constructor and Description | +
---|
BehaviourEntity(String entityBehaviourName) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+draw(Graphics2D graphics) |
+
void |
+update() |
+
debugDraw, getLocation, getVelocity, getX, getY
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/BehaviourRegistry.html b/apidocs/uk/me/webpigeon/world/BehaviourRegistry.html new file mode 100644 index 0000000..996459c --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/BehaviourRegistry.html @@ -0,0 +1,289 @@ + + + + + + +public class BehaviourRegistry +extends Object+
Constructor and Description | +
---|
BehaviourRegistry() |
+
Modifier and Type | +Method and Description | +
---|---|
static TreeNode |
+getBehaviour(String uniqueName) |
+
static void |
+registerBehaviour(String uniqueName,
+ TreeNode behaviour) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/DoubleWorld.html b/apidocs/uk/me/webpigeon/world/DoubleWorld.html new file mode 100644 index 0000000..65f991c --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/DoubleWorld.html @@ -0,0 +1,399 @@ + + + + + + +public class DoubleWorld +extends World+
JComponent.AccessibleJComponent
Component.BaselineResizeBehavior
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description | +
---|
DoubleWorld(int width,
+ int height) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+draw(Graphics2D g2) |
+
static void |
+main(String[] args) |
+
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/Entity.html b/apidocs/uk/me/webpigeon/world/Entity.html new file mode 100644 index 0000000..3dc4bb0 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/Entity.html @@ -0,0 +1,358 @@ + + + + + + +public abstract class Entity +extends Object+
Modifier and Type | +Method and Description | +
---|---|
void |
+debugDraw(Graphics2D g) |
+
abstract void |
+draw(Graphics2D graphics) |
+
Vector2D |
+getLocation() |
+
Vector2D |
+getVelocity() |
+
double |
+getX() |
+
double |
+getY() |
+
abstract void |
+update() |
+
public abstract void update()+
public abstract void draw(Graphics2D graphics)+
public void debugDraw(Graphics2D g)+
public double getX()+
public double getY()+
public Vector2D getLocation()+
public Vector2D getVelocity()+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/EntityFactory.html b/apidocs/uk/me/webpigeon/world/EntityFactory.html new file mode 100644 index 0000000..07863e8 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/EntityFactory.html @@ -0,0 +1,241 @@ + + + + + + +public class EntityFactory +extends Object+
Modifier and Type | +Method and Description | +
---|---|
static Entity |
+buildCow(int maxWidth,
+ int maxHeight) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/GrassEntity.html b/apidocs/uk/me/webpigeon/world/GrassEntity.html new file mode 100644 index 0000000..07bec6b --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/GrassEntity.html @@ -0,0 +1,307 @@ + + + + + + +public class GrassEntity +extends Entity+
Constructor and Description | +
---|
GrassEntity(Vector2D location) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+draw(Graphics2D graphics) |
+
void |
+update() |
+
debugDraw, getLocation, getVelocity, getX, getY
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/GridWorld.html b/apidocs/uk/me/webpigeon/world/GridWorld.html new file mode 100644 index 0000000..bea225d --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/GridWorld.html @@ -0,0 +1,430 @@ + + + + + + +public class GridWorld +extends World+
JComponent.AccessibleJComponent
Component.BaselineResizeBehavior
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description | +
---|
GridWorld(int width,
+ int height) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+draw(Graphics2D g2) |
+
int |
+getCenterOfGrid(int input) |
+
Dimension |
+getPreferredSize() |
+
static void |
+main(String[] args) |
+
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static void main(String[] args)+
public int getCenterOfGrid(int input)+
public Dimension getPreferredSize()+
getPreferredSize
in class JComponent
public void draw(Graphics2D g2)+ +
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/SteeringEntity.html b/apidocs/uk/me/webpigeon/world/SteeringEntity.html new file mode 100644 index 0000000..13e1061 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/SteeringEntity.html @@ -0,0 +1,327 @@ + + + + + + +public class SteeringEntity +extends Entity+
Constructor and Description | +
---|
SteeringEntity(int x,
+ int y,
+ SteeringBehaviour behaviour) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+debugDraw(Graphics2D graphics) |
+
void |
+draw(Graphics2D graphics) |
+
void |
+update() |
+
getLocation, getVelocity, getX, getY
public SteeringEntity(int x, + int y, + SteeringBehaviour behaviour)+
public void draw(Graphics2D graphics)+ +
public void debugDraw(Graphics2D graphics)+ +
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/World.html b/apidocs/uk/me/webpigeon/world/World.html new file mode 100644 index 0000000..6a12d5d --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/World.html @@ -0,0 +1,419 @@ + + + + + + +public class World +extends JComponent +implements Runnable+
JComponent.AccessibleJComponent
Component.BaselineResizeBehavior
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description | +
---|
World(int width,
+ int height) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+addEntity(Entity entity) |
+
void |
+draw(Graphics2D g2) |
+
void |
+run() |
+
void |
+update(long timeOfLastUpdate) |
+
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/BehaviourEntity.html b/apidocs/uk/me/webpigeon/world/class-use/BehaviourEntity.html new file mode 100644 index 0000000..28a83c0 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/BehaviourEntity.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/BehaviourRegistry.html b/apidocs/uk/me/webpigeon/world/class-use/BehaviourRegistry.html new file mode 100644 index 0000000..a972047 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/BehaviourRegistry.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/DoubleWorld.html b/apidocs/uk/me/webpigeon/world/class-use/DoubleWorld.html new file mode 100644 index 0000000..26f6410 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/DoubleWorld.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/Entity.html b/apidocs/uk/me/webpigeon/world/class-use/Entity.html new file mode 100644 index 0000000..f0e9a2f --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/Entity.html @@ -0,0 +1,249 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.world | ++ |
Modifier and Type | +Method and Description | +
---|---|
void |
+WanderingBehaviour.bind(Entity entity) |
+
void |
+SeekBehaviour.bind(Entity entity) |
+
void |
+SteeringBehaviour.bind(Entity entity)
+Bind a behaviour to a given entity.
+ |
+
void |
+WonderBehaviour.bind(Entity entity) |
+
void |
+FleeBehaviour.bind(Entity entity) |
+
void |
+WeightedBehaviour.bind(Entity entity) |
+
Modifier and Type | +Class and Description | +
---|---|
class |
+BehaviourEntity
+Created by Piers on 03/03/2015.
+ |
+
class |
+GrassEntity
+Created by Piers on 04/03/2015.
+ |
+
class |
+SteeringEntity |
+
Modifier and Type | +Method and Description | +
---|---|
static Entity |
+EntityFactory.buildCow(int maxWidth,
+ int maxHeight) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+World.addEntity(Entity entity) |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/EntityFactory.html b/apidocs/uk/me/webpigeon/world/class-use/EntityFactory.html new file mode 100644 index 0000000..0866a86 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/EntityFactory.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/GrassEntity.html b/apidocs/uk/me/webpigeon/world/class-use/GrassEntity.html new file mode 100644 index 0000000..5e5ce61 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/GrassEntity.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/GridWorld.html b/apidocs/uk/me/webpigeon/world/class-use/GridWorld.html new file mode 100644 index 0000000..a2b9fef --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/GridWorld.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/SteeringEntity.html b/apidocs/uk/me/webpigeon/world/class-use/SteeringEntity.html new file mode 100644 index 0000000..bd95337 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/SteeringEntity.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/class-use/World.html b/apidocs/uk/me/webpigeon/world/class-use/World.html new file mode 100644 index 0000000..b76d571 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/class-use/World.html @@ -0,0 +1,172 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.world | ++ |
Modifier and Type | +Class and Description | +
---|---|
class |
+DoubleWorld |
+
class |
+GridWorld
+Created by Piers on 03/03/2015.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/package-frame.html b/apidocs/uk/me/webpigeon/world/package-frame.html new file mode 100644 index 0000000..be9ccf1 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +Class | +Description | +
---|---|
BehaviourEntity | +
+ Created by Piers on 03/03/2015.
+ |
+
BehaviourRegistry | +
+ Created by Piers on 03/03/2015.
+ |
+
DoubleWorld | ++ |
Entity | +
+ Base abstract class for all entity objects in the world
+
+ Created by Piers on 03/03/2015.
+ |
+
EntityFactory | ++ |
GrassEntity | +
+ Created by Piers on 04/03/2015.
+ |
+
GridWorld | +
+ Created by Piers on 03/03/2015.
+ |
+
SteeringEntity | ++ |
World | +
+ Created by Piers on 03/03/2015.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/package-tree.html b/apidocs/uk/me/webpigeon/world/package-tree.html new file mode 100644 index 0000000..0341964 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/package-tree.html @@ -0,0 +1,165 @@ + + + + + + +Copyright © 2015. All rights reserved.
+ + diff --git a/apidocs/uk/me/webpigeon/world/package-use.html b/apidocs/uk/me/webpigeon/world/package-use.html new file mode 100644 index 0000000..abf50f4 --- /dev/null +++ b/apidocs/uk/me/webpigeon/world/package-use.html @@ -0,0 +1,191 @@ + + + + + + +Package | +Description | +
---|---|
uk.me.webpigeon.steering | ++ |
uk.me.webpigeon.world | ++ |
Class and Description | +
---|
Entity
+ Base abstract class for all entity objects in the world
+
+ Created by Piers on 03/03/2015.
+ |
+
Class and Description | +
---|
Entity
+ Base abstract class for all entity objects in the world
+
+ Created by Piers on 03/03/2015.
+ |
+
World
+ Created by Piers on 03/03/2015.
+ |
+
Copyright © 2015. All rights reserved.
+ + diff --git a/css/maven-base.css b/css/maven-base.css new file mode 100644 index 0000000..53153e9 --- /dev/null +++ b/css/maven-base.css @@ -0,0 +1,155 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; +} +.xright, #bannerRight { + float:right; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#navcolumn li.none { + text-indent: -1em; + margin-left: 1em; +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} +#navcolumn img.imageLink, .imageLink { + padding-left: 0px; + padding-bottom: 0px; + padding-top: 0px; + padding-right: 2px; + border: 0px; + margin: 0px; +} diff --git a/css/maven-theme.css b/css/maven-theme.css new file mode 100644 index 0000000..c982168 --- /dev/null +++ b/css/maven-theme.css @@ -0,0 +1,141 @@ +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: normal; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} + diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..f09d546 --- /dev/null +++ b/css/print.css @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} diff --git a/css/site.css b/css/site.css new file mode 100644 index 0000000..055e7e2 --- /dev/null +++ b/css/site.css @@ -0,0 +1 @@ +/* You can override this file with your own styles */ \ No newline at end of file diff --git a/dependencies.html b/dependencies.html new file mode 100644 index 0000000..9d596f0 --- /dev/null +++ b/dependencies.html @@ -0,0 +1,280 @@ + + + + + +The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
+GroupId | +ArtifactId | +Version | +Type | +License |
---|---|---|---|---|
junit | +junit | +4.11 | +jar | +Common Public License Version 1.0 |
The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.
+The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:
+GroupId | +ArtifactId | +Version | +Type | +License |
---|---|---|---|---|
org.hamcrest | +hamcrest-core | +1.3 | +jar | +New BSD License |
Unknown: Goldsmiths AIs stuff
+New BSD License: Hamcrest Core
+Common Public License Version 1.0: JUnit
Filename | +Size | +Entries | +Classes | +Packages | +Java Version | +Debug Information |
---|---|---|---|---|---|---|
junit-4.11.jar | +245.04 kB | +266 | +233 | +28 | +1.5 | +Yes |
hamcrest-core-1.3.jar | +45.02 kB | +52 | +45 | +3 | +1.5 | +Yes |
Total | +Size | +Entries | +Classes | +Packages | +Java Version | +Debug Information |
2 | +290.06 kB | +318 | +278 | +31 | +1.5 | +2 |
test: 2 | +test: 290.06 kB | +test: 318 | +test: 278 | +test: 31 | +- | +test: 2 |
Repo ID | +URL | +Release | +Snapshot |
---|---|---|---|
central | +http://repo.maven.apache.org/maven2 | +Yes | +No |
Repository locations for each of the Dependencies.
+Artifact | +central |
---|---|
junit:junit:jar:4.11 | +![]() |
org.hamcrest:hamcrest-core:jar:1.3 | +![]() |
Total | +central |
2 (test: 2) | +2 |
![]() |
+At least one dependency has a differing version of the dependency or has SNAPSHOT dependencies. |
Number of dependencies (NOD): | +2 |
---|---|
Number of unique artifacts (NOA): | +2 |
Number of version-conflicting artifacts (NOC): | +0 |
Number of SNAPSHOT artifacts (NOS): | +0 |
Convergence (NOD/NOA): | +![]() |
Ready for release (100 % convergence and no SNAPSHOTS): | +![]() |
<dependency> + <groupId>uk.me.webpigeon.ais</groupId> + <artifactId>ai-tools</artifactId> + <version>0.0.1-SNAPSHOT</version> +</dependency>
<dependency org="uk.me.webpigeon.ais" name="ai-tools" rev="0.0.1-SNAPSHOT"> + <artifact name="ai-tools" type="jar" /> +</dependency>
GroupId | +ArtifactId | +Version |
---|---|---|
org.apache.maven.plugins | +maven-antrun-plugin | +1.3 |
org.apache.maven.plugins | +maven-assembly-plugin | +2.2-beta-5 |
org.apache.maven.plugins | +maven-dependency-plugin | +2.8 |
org.apache.maven.plugins | +maven-release-plugin | +2.3.2 |
GroupId | +ArtifactId | +Version |
---|---|---|
com.github.github | +site-maven-plugin | +0.11 |
org.apache.maven.plugins | +maven-clean-plugin | +2.5 |
org.apache.maven.plugins | +maven-compiler-plugin | +3.2 |
org.apache.maven.plugins | +maven-deploy-plugin | +2.7 |
org.apache.maven.plugins | +maven-install-plugin | +2.4 |
org.apache.maven.plugins | +maven-jar-plugin | +2.4 |
org.apache.maven.plugins | +maven-javadoc-plugin | +2.10.1 |
org.apache.maven.plugins | +maven-resources-plugin | +2.6 |
org.apache.maven.plugins | +maven-site-plugin | +3.3 |
org.apache.maven.plugins | +maven-source-plugin | +2.4 |
org.apache.maven.plugins | +maven-surefire-plugin | +2.12.4 |
GroupId | +ArtifactId | +Version |
---|---|---|
org.apache.maven.plugins | +maven-javadoc-plugin | +2.10.1 |
This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.
+Document | +Description |
---|---|
Dependencies | +This document lists the project's dependencies and provides information on each dependency. |
Dependency Convergence | +This document presents the convergence of dependency versions across the entire project, and its sub modules. |
Dependency Information | +This document describes how to to include this project as a dependency using various dependency management tools. |
About | +Goldsmiths AI suite |
Plugin Management | +This document lists the plugins that are defined through pluginManagement. |
Project Plugins | +This document lists the build plugins and the report plugins used by this project. |
Source Repository | +This document lists ways to access the online source repository. |
Project Summary | +This document lists other related information of this project |
This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.
+Document | +Description |
---|---|
JavaDocs | +JavaDoc API documentation. |
Test JavaDocs | +Test JavaDoc API documentation. |
This project uses Git to manage its source code. Instructions on Git use can be found at http://git-scm.com/documentation.
The source can be checked out anonymously from Git with this command (See http://git-scm.com/docs/git-clone):
+$ git clone git://github.com/unitycoders/ai-tools.git
Only project developers can access the Git tree via this method (See http://git-scm.com/docs/git-clone).
+$ git clone git@github.com:unitycoders/ai-tools.git
- * Agent that will use the offline evolved behavioural tree in controlling its
- * behaviour
- */
-public class HunterAgent extends Entity {
- public static final int TICKS_PER_HUNGER_DROP = 50;
- // How big we are
- int radius = 10;
-
- // How hungry are we
- // When this is below STARVING_THRESHOLD then we start to lose health
- int hungerLevel = 100;
- private static int STARVING_THRESHOLD = 10;
-
- // Maximum amount of life for a hunter
- private static int MAX_TICKS = 1_000;
- private int currentTicks;
-
- private int foodCarrying;
-
- private static ArrayList
- * The object that represents the village that the hunters live in
- */
-public class HunterVillage extends Entity {
-
- public static final int HUNTER_COST = 50;
- // How much food is available for the hunters to eat
- private int foodStocks = 50;
- private int totalFoodStocksEver = foodStocks;
-
- // How many people do we have
- private int currentPopulation;
- private int maxPopulation = 10;
-
- // The brian to use when creating hunters
- NeuralNet hunterBrain;
-
- private ArrayList
- * A hunter evolver designed to provide the developer with a credible start point for the Hunters
- */
-public final class OfflineHunterEvolver {
-
- private static final String HUNTER_DIRECTORY = "/hunters";
- public static final int GENERATIONS = 100;
-
- // World to use for evaluation
- private DoubleWorld world;
- // village to use for evaluation
- private HunterVillage village;
-
- // population of genomes
- ArrayList
- * Created by Piers on 03/03/2015.
- */
-public abstract class Entity {
-
- // The GridWorld in all its glory
- protected World world;
- protected ListStrawberry visualisation
-
-
-
-
- hehe - cool huh
-
-
\ No newline at end of file
diff --git a/src/main/java/uk/me/webpigeon/util/CachedVector2DSource.java b/src/main/java/uk/me/webpigeon/util/CachedVector2DSource.java
deleted file mode 100644
index e8367ed..0000000
--- a/src/main/java/uk/me/webpigeon/util/CachedVector2DSource.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package uk.me.webpigeon.util;
-
-import java.util.HashMap;
-
-/**
- * Caches Vector2D's
- */
-public class CachedVector2DSource {
- private HashMap