1165 lines
46 KiB
HTML
1165 lines
46 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="cs">
|
|
<head>
|
|
<!-- Generated by javadoc (12.0.2) on Thu Jun 11 14:11:06 CEST 2020 -->
|
|
<title>WindowOfFreeMove</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="dc.created" content="2020-06-11">
|
|
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="WindowOfFreeMove";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":9,"i15":9,"i16":10,"i17":9,"i18":9,"i19":10,"i20":10};
|
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">ruscz.game.gameOfProd.Windows</a></div>
|
|
<h2 title="Class WindowOfFreeMove" class="title">Class WindowOfFreeMove</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Component</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.awt.Container</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>javax.swing.JComponent</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>javax.swing.JLayeredPane</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>ruscz.game.gameOfProd.Windows.WindowOfFreeMove</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><code>java.awt.image.ImageObserver</code>, <code>java.awt.MenuContainer</code>, <code>java.io.Serializable</code>, <code>javax.accessibility.Accessible</code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public class <span class="typeNameLabel">WindowOfFreeMove</span>
|
|
extends javax.swing.JLayeredPane</pre>
|
|
<div class="block">This class holds JLayeredPane with the main part of our game - the maps
|
|
It also holds references to all major classes</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../serialized-form.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove">Serialized Form</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<div class="memberSummary">
|
|
<table>
|
|
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Class</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="WindowOfFreeMove.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Canvas</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">This class handles repainting of all game elements and entities</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="WindowOfFreeMove.Foreground.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Foreground</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">This class handles displaying images or color on top of the whole game
|
|
It is used in cut-scenes or for atmosphere</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.classes.inherited.from.class.javax.swing.JLayeredPane">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class javax.swing.JLayeredPane</h3>
|
|
<code>javax.swing.JLayeredPane.AccessibleJLayeredPane</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.classes.inherited.from.class.javax.swing.JComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class javax.swing.JComponent</h3>
|
|
<code>javax.swing.JComponent.AccessibleJComponent</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.classes.inherited.from.class.java.awt.Container">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
|
|
<code>java.awt.Container.AccessibleAWTContainer</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.classes.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
|
|
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<div class="memberSummary">
|
|
<table>
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Field</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="Camera.html" title="class in ruscz.game.gameOfProd.Windows">Camera</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#camera">camera</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private static boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canPersonMove">canPersonMove</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="WindowOfFreeMove.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Canvas</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canvas">canvas</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CANVAS_HEIGHT">CANVAS_HEIGHT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CANVAS_WIDTH">CANVAS_WIDTH</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CELL_SIZE">CELL_SIZE</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="../Dialog/DialogBar.html" title="class in ruscz.game.gameOfProd.Dialog">DialogBar</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dialogBar">dialogBar</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private <a href="WindowOfFreeMove.Foreground.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Foreground</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#foreground">foreground</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#game">game</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private static java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CHAPTER">CHAPTER</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private javax.swing.Timer</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#inputTimer">inputTimer</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private static boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReadyToPaint">isReadyToPaint</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_DOWN">KEY_DOWN</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_ESCAPE">KEY_ESCAPE</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_EVENT">KEY_EVENT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_LEFT">KEY_LEFT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_RIGHT">KEY_RIGHT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_UP">KEY_UP</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private java.util.LinkedList<<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a>></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mapLinkedList">mapLinkedList</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private <a href="../Map/MapManager.html" title="class in ruscz.game.gameOfProd.Map">MapManager</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mapManager">mapManager</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#musicManager">musicManager</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nextMove">nextMove</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REPAINT_DELAY">REPAINT_DELAY</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WINDOW_HEIGHT">WINDOW_HEIGHT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#WINDOW_WIDTH">WINDOW_WIDTH</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="fields.inherited.from.class.javax.swing.JLayeredPane">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class javax.swing.JLayeredPane</h3>
|
|
<code>DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="fields.inherited.from.class.javax.swing.JComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class javax.swing.JComponent</h3>
|
|
<code>listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="fields.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from class java.awt.Component</h3>
|
|
<code>accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="fields.inherited.from.class.java.awt.image.ImageObserver">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
|
|
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<div class="memberSummary">
|
|
<table>
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Constructor</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(ruscz.game.gameOfProd.Game)">WindowOfFreeMove</a></span>​(<a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a> game)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<div class="memberSummary">
|
|
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
|
|
<div id="memberSummary_tabpanel" role="tabpanel">
|
|
<table aria-labelledby="t0">
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor" id="i0">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canPersonMove()">canPersonMove</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i1">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#centerContent()">centerContent</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Centers game window on screen</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i2">
|
|
<td class="colFirst"><code><a href="Camera.html" title="class in ruscz.game.gameOfProd.Windows">Camera</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCamera()">getCamera</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i3">
|
|
<td class="colFirst"><code><a href="../Dialog/DialogBar.html" title="class in ruscz.game.gameOfProd.Dialog">DialogBar</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDialogBar()">getDialogBar</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i4">
|
|
<td class="colFirst"><code><a href="WindowOfFreeMove.Foreground.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Foreground</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getForegroundPanel()">getForegroundPanel</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i5">
|
|
<td class="colFirst"><code><a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGame()">getGame</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i6">
|
|
<td class="colFirst"><code>static java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCHAPTER()">getCHAPTER</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i7">
|
|
<td class="colFirst"><code>java.util.LinkedList<<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a>></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMapLinkedList()">getMapLinkedList</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i8">
|
|
<td class="colFirst"><code><a href="../Map/MapManager.html" title="class in ruscz.game.gameOfProd.Map">MapManager</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMapManager()">getMapManager</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i9">
|
|
<td class="colFirst"><code><a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMusicManager()">getMusicManager</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i10">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#loadNextChapter()">loadNextChapter</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Loads next chapter of game</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i11">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#paintMapOnWindow()">paintMapOnWindow</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i12">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#repaintCanvas()">repaintCanvas</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Forces all panels to repaint</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i13">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCanPersonMove(boolean)">setCanPersonMove</a></span>​(boolean canPersonMove)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i14">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCanvasSize(int%5B%5D)">setCanvasSize</a></span>​(int[] size)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i15">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCHAPTER(java.lang.String)">setCHAPTER</a></span>​(java.lang.String CHAPTER)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i16">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMapManager(ruscz.game.gameOfProd.Map.Map)">setMapManager</a></span>​(<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a> mapManager)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i17">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNextMove(int)">setNextMove</a></span>​(int nextMove)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i18">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sleep(long)">sleep</a></span>​(long tm)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Pauses thread for a designated length of time</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i19">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start(boolean)">start</a></span>​(boolean newGame)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Starts the game itself - loads all needed maps, starts a new game or loads saved game and starts timer for repainting</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i20">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startBattle(java.lang.String)">startBattle</a></span>​(java.lang.String name)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Starts new battle sequence</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.javax.swing.JLayeredPane">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class javax.swing.JLayeredPane</h3>
|
|
<code>addImpl, getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPosition</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.javax.swing.JComponent">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class javax.swing.JComponent</h3>
|
|
<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, 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, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintComponent, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printComponent, printChildren, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.awt.Container">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Container</h3>
|
|
<code>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, processContainerEvent, processEvent, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.awt.Component">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.awt.Component</h3>
|
|
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, 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, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, checkImage, checkImage, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a id="CELL_SIZE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CELL_SIZE</h4>
|
|
<pre>public static final int CELL_SIZE</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.CELL_SIZE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="CANVAS_WIDTH">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CANVAS_WIDTH</h4>
|
|
<pre>public static int CANVAS_WIDTH</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="CANVAS_HEIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CANVAS_HEIGHT</h4>
|
|
<pre>public static int CANVAS_HEIGHT</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="WINDOW_WIDTH">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>WINDOW_WIDTH</h4>
|
|
<pre>public static final int WINDOW_WIDTH</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.WINDOW_WIDTH">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="WINDOW_HEIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>WINDOW_HEIGHT</h4>
|
|
<pre>public static final int WINDOW_HEIGHT</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.WINDOW_HEIGHT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="REPAINT_DELAY">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>REPAINT_DELAY</h4>
|
|
<pre>public static final int REPAINT_DELAY</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.REPAINT_DELAY">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="canPersonMove">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canPersonMove</h4>
|
|
<pre>private static boolean canPersonMove</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="nextMove">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>nextMove</h4>
|
|
<pre>private static int nextMove</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="isReadyToPaint">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isReadyToPaint</h4>
|
|
<pre>private static boolean isReadyToPaint</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="KEY_LEFT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KEY_LEFT</h4>
|
|
<pre>public static final int KEY_LEFT</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.KEY_LEFT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="KEY_UP">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KEY_UP</h4>
|
|
<pre>public static final int KEY_UP</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.KEY_UP">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="KEY_RIGHT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KEY_RIGHT</h4>
|
|
<pre>public static final int KEY_RIGHT</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.KEY_RIGHT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="KEY_DOWN">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KEY_DOWN</h4>
|
|
<pre>public static final int KEY_DOWN</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.KEY_DOWN">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="KEY_EVENT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KEY_EVENT</h4>
|
|
<pre>public static final int KEY_EVENT</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.KEY_EVENT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="KEY_ESCAPE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>KEY_ESCAPE</h4>
|
|
<pre>private static final int KEY_ESCAPE</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfFreeMove.KEY_ESCAPE">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="CHAPTER">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CHAPTER</h4>
|
|
<pre>private static java.lang.String CHAPTER</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="game">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>game</h4>
|
|
<pre>private final <a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a> game</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="canvas">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canvas</h4>
|
|
<pre>private final <a href="WindowOfFreeMove.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Canvas</a> canvas</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="dialogBar">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dialogBar</h4>
|
|
<pre>private final <a href="../Dialog/DialogBar.html" title="class in ruscz.game.gameOfProd.Dialog">DialogBar</a> dialogBar</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="mapManager">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>mapManager</h4>
|
|
<pre>private <a href="../Map/MapManager.html" title="class in ruscz.game.gameOfProd.Map">MapManager</a> mapManager</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="camera">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>camera</h4>
|
|
<pre>private final <a href="Camera.html" title="class in ruscz.game.gameOfProd.Windows">Camera</a> camera</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="inputTimer">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>inputTimer</h4>
|
|
<pre>private final javax.swing.Timer inputTimer</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="musicManager">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>musicManager</h4>
|
|
<pre>private <a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a> musicManager</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="foreground">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>foreground</h4>
|
|
<pre>private final <a href="WindowOfFreeMove.Foreground.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Foreground</a> foreground</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="mapLinkedList">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>mapLinkedList</h4>
|
|
<pre>private java.util.LinkedList<<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a>> mapLinkedList</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a id="<init>(ruscz.game.gameOfProd.Game)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>WindowOfFreeMove</h4>
|
|
<pre>public WindowOfFreeMove​(<a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a> game)</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="getCHAPTER()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCHAPTER</h4>
|
|
<pre class="methodSignature">public static java.lang.String getCHAPTER()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setCHAPTER(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCHAPTER</h4>
|
|
<pre class="methodSignature">public static void setCHAPTER​(java.lang.String CHAPTER)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getMapManager()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMapManager</h4>
|
|
<pre class="methodSignature">public <a href="../Map/MapManager.html" title="class in ruscz.game.gameOfProd.Map">MapManager</a> getMapManager()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="repaintCanvas()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>repaintCanvas</h4>
|
|
<pre class="methodSignature">public void repaintCanvas()</pre>
|
|
<div class="block">Forces all panels to repaint</div>
|
|
</li>
|
|
</ul>
|
|
<a id="setCanPersonMove(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCanPersonMove</h4>
|
|
<pre class="methodSignature">public static void setCanPersonMove​(boolean canPersonMove)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="canPersonMove()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canPersonMove</h4>
|
|
<pre class="methodSignature">public static boolean canPersonMove()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setMapManager(ruscz.game.gameOfProd.Map.Map)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMapManager</h4>
|
|
<pre class="methodSignature">public void setMapManager​(<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a> mapManager)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="paintMapOnWindow()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paintMapOnWindow</h4>
|
|
<pre class="methodSignature">public void paintMapOnWindow()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setNextMove(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setNextMove</h4>
|
|
<pre class="methodSignature">public static void setNextMove​(int nextMove)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getDialogBar()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDialogBar</h4>
|
|
<pre class="methodSignature">public <a href="../Dialog/DialogBar.html" title="class in ruscz.game.gameOfProd.Dialog">DialogBar</a> getDialogBar()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getMapLinkedList()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMapLinkedList</h4>
|
|
<pre class="methodSignature">public java.util.LinkedList<<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a>> getMapLinkedList()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getCamera()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCamera</h4>
|
|
<pre class="methodSignature">public <a href="Camera.html" title="class in ruscz.game.gameOfProd.Windows">Camera</a> getCamera()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getForegroundPanel()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getForegroundPanel</h4>
|
|
<pre class="methodSignature">public <a href="WindowOfFreeMove.Foreground.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove.Foreground</a> getForegroundPanel()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getMusicManager()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMusicManager</h4>
|
|
<pre class="methodSignature">public <a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a> getMusicManager()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getGame()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGame</h4>
|
|
<pre class="methodSignature">public <a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a> getGame()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="start(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>start</h4>
|
|
<pre class="methodSignature">public void start​(boolean newGame)</pre>
|
|
<div class="block">Starts the game itself - loads all needed maps, starts a new game or loads saved game and starts timer for repainting</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>newGame</code> - is a reference to main class Game</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="loadNextChapter()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>loadNextChapter</h4>
|
|
<pre class="methodSignature">public void loadNextChapter()</pre>
|
|
<div class="block">Loads next chapter of game</div>
|
|
</li>
|
|
</ul>
|
|
<a id="startBattle(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startBattle</h4>
|
|
<pre class="methodSignature">public void startBattle​(java.lang.String name)</pre>
|
|
<div class="block">Starts new battle sequence</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>name</code> - is name of battle file</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="sleep(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sleep</h4>
|
|
<pre class="methodSignature">public static void sleep​(long tm)</pre>
|
|
<div class="block">Pauses thread for a designated length of time</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>tm</code> - is time in milliseconds</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setCanvasSize(int[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCanvasSize</h4>
|
|
<pre class="methodSignature">public static void setCanvasSize​(int[] size)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="centerContent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>centerContent</h4>
|
|
<pre class="methodSignature">public void centerContent()</pre>
|
|
<div class="block">Centers game window on screen</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|